added getPlayerAchievements api and added forgotten test case