Tests: listen to end events on collectors and make sure they drain
Merge pull request #2 from Medium/es-test-listeners

Tests: listen to end events on collectors and make sure they drain