add BadgeTest.cpp to cmake build
add BadgeTest.cpp to cmake build

Summary:
Externally this was failing on fedora 35's GCC 11.2.1

Add test so we know what platforms it's good on

Reviewed By: yfeldblum

Differential Revision: D33192636

fbshipit-source-id: 028255b6dbb34762b4e788122d948f26a449a57c

facebook/folly,facebook/folly,facebook/folly,facebook/folly,facebook/folly