test for badges