rspec test for user attributes