Have countries ever tested economical measures at city level?
Yes, there are lots of examples of countries piloting new economic measures before they are rolled out nationwide.  A couple of recent examples are of Finland piloting universal basic income and the UK piloting universal credit in 12 local authorities, which was then extended nationwide in a number of stages.