added test for task