• deal with empty levels for teststat = "quad" (bug reported by Wei-Yin Loh )