[jam tests] Fix mismatched end clause.