Add test to task_spec