add some docstring tests to player class