Revise a unit test's error message.