Variance estimation in tests of clustered categorical data with informative cluster size