add test for conditional disable