add tests for player api