Got test code with java's RMI working