Fixed rpc request unittest