Tests need to raise AssertionError on failure.