etcdserver: improve tests