test: test wait pkg

i put wait here since etcdserver depends on it.