Four alleged members of a terror cell accused of killing 15 people in attacks in Spain appeared in court Tuesday, a day after the last missing member of the cell was gunned down by police.