Unittests for player.py