fix tests in User model spec