Add a unit test for RandomPlayer.