added tests to tasks_spec for validation