User model refactored. new(user) test created for User model