Added a test case to manually add an event to the queue, seems to fix the random queue problem