wrote more rspec tests