Event logger unit test