rspec test for greed game