Improves localization tests.