fixed rspec test for user model to resolve issue #5