Added a test for event buffer overflow