Add Task spec for test case