added more rspec tests