Implement tests in mksRegressionModel and build test harness.