Tests for player class.