add event rpc test