Use user factory for user_preference model tests.