unit test for task1