fix t.plan so test exits