Add rspec tests for user