Implement rspec test