Added FactoryGirl and unit test for User model