added tests for player, updated player doc