adds a player class with a test