t/05gen_check.t - Rewrite more efficiently.