Fix all the tests.