add test for player class