Refactored in a Harness object to encapsulate test runs.