Tests for toggling