Finalized the RMI framework and test cases.