Tests using canReflect.getName in assertions fail in IE11
Test failed due to canReflect.getName
returning a certain value fail in IE11 because of how we name functions differently in IE11. With this fix, the tests use regular expressions to make the assertions less strict.