Tom Trouble was on trial last Thursday in Edgartown district court, and it was up to a group of seventh graders from the Edgartown School to try the case. Tom’s day in court was the focus of a student mock trial, the culmination of an eight-week enrichment program that gave students exposure to the legal system.