acp-java: Add basic repl tests.