Update tests to ignore log directories

Test involving local directories are not portable and honestly
not something I should test anyway. I'm leaving open the possibility
that a future commit might cause the log file path to not
be set but that's a risk I'm willing to take.