Created rspec tests