ksync test code compilation error fix