fixed failing ktest
Merge pull request #53 from yilongli/java_rewrite_engine

fixed failing ktest