test for cpp