Fix incorrect regression tests.