Added tests for event_queue