added the client emit-buffer test
Merge pull request #1578 from kevin-roark/add/emit-buffer-test

added the client emit-buffer test