Migrate unit tests to FactoryGirl.