tests: Fix build without libcppunit