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