Rewrite the test to not require asserts.