Added tests for model validation and input errors to the user
refactored task model and controller
added validations on models association, added dependent on destroy in Task model
wrote test for labels_controller, used json_spec gem