Created a test for the EventLogger class