test for localization branches