etcdhttp: add test for expiration time