Fixing factoryGirl errors
Fixed testing errors.