eventlog tests and writing/clearing the logs