More updates and addition of unit test for remote EJB.