etcdserver/etcdhttp: add tests for serveKeys