added rspec tests for game