Improved regression tests to make it easier to adapt to new problems