Added three rspec tests