start of kmp test