add test for Task object