added test case for kmp-cpp