Install factory_girl_rails gem
Create factory for Goal
Modify create: else condition for errors
Add validation for presence of motivation field
Modify to use FactoryGirl