update task validation and tests
update task tests and validation