lavTables computes chisq.test for independence if object is just a data.frame