Tests for player.py