Update tests to check file contents
Add quiet option to disable logging entirely