testing that logfile is created