adding task spec tests and validations