Added a bunch of new regression tests.

6 files changed