Some rspec tests added