Added testcase for Badges