fix unit test class