added tests to controller spec users and tasks