whitespace
improvements to sendTestsAsEvents