etcdserver/etcdhttp: add tests for serveKeys

same comment as line 893