modified config/application.rb to have factory_girl generator
wrote tests with FactoryGirl generator