add test and fix the EtcdClient redirect bug....