task unit test