added a test for task model