Catalonia's separatist movement will test Spain and the EU