Added test for PlayerList.toJSON() method.