added tests for user and task validation