add cpp11 test code