Test for {0, 1} in factor convenience functions