create mock getmunicipalities and modify validator