test player api.