remove samples/java_rewrite_engine directory
minor ktest fixes