added rspec
added user tests