refactor model tests using factory_girl