added some more rspec tests