Fixing test for cpp