added unit tests for Player class