RPC.Emulator: bugfix in test code
RPC.JSONUDP: added