Added ability to do multiple mdl runs within single test.
Added additional regression tests.
Added testing code for exact matches.
Added additional tests.

Also fixed bugs in minmax routine.
Added commandline flag for removing temporary test data.
Added ability to test exit codes.

Also added two more test cases.