unit test task in class