Added rspec test