Spain terror attack suspects appear in court