Fix localization in path builder + add test