Introduce system regression tests, simplify command line tests