Written some tests for Player