Refactor : Sanity test code in Leaderboard Server.