Move the run error checking to a separate test.
Test mocked output streaming.
Test mocked output ranges.