Add tests for etcd_client.go