Added some regression tests.