correct tests that expect AssertionError