expt: improved table checking