Add an assertion to a unit test.