set up and refactor rspec tests