add test for completing a task