rpc reqrite
light rpc unit tests