etcdserver/etcdhttp: add test for serveRaft