Fix all failed tests.