Fixed the unit test of validateReceiver method.
Added user friendly toString methods to LocalObject and RemoteObject class.