Made test cases for RMI stuff.