testsuite: move handle-multiline-outputs to before check for blank lines