Fix failed tests.