added test for Task model