etcdserver: refine publish tests