test remove rpc file