added rspec to configuration and wrote user model test