Tests for DomUtils.toggleClass