Spain's courts tested by trial of Catalan separatists