Print tests to a log instead of stdout