Fix tests broken by addEvents change (#342)
Fix tests broken by addEvents change (#342)

Fix failing unit tests
scalyr/scalyr-agent-2,imron/scalyr-agent-2,scalyr/scalyr-agent-2,scalyr/scalyr-agent-2,scalyr/scalyr-agent-2