Fix for new log file creation
Minor fix
Add some tests