Add a unit test.