created rspec tests