etcdserver: add TestRecvSnapshot

#1019
can we move this logic out of the init function?