fix tests, fix bug in game validation logic