add test case for getplayer