Register CPPUNIT tests with a conditional predicate