add cpp/tests