Fixed failed tests.