improve test: testNonAssertionError

`make test` failed in my environment because the error thrown in test `testNonAssertionError`, after being passed through `betterErrorStringFromError`, contained the test name, which itself contained the "AssertionError" substring for which an assertion was negative-testing. This can be corrected by changing the assertion from substring inclusion to regular expression match.