Test to create a log file