move CompleteStatementTest to java-tests