Fix regression tests.