correcting unit tests
when the current player's action is unavailable, the game selects  another action