correct a unit test