fix localization test