Adding log files and updating tests