renamed Listener to RpcUtils and added test case