fix unit test w.r.t. multiline output in log for --dry-run