fix
cpp: tests use common testmain library