added the global variable player and also a test for the constructur to see that the player variable is initialized right