etcdserver: add sender tests

fixes #1644 
please add comments for the test cases.