fix up use of correct method in toggle tests