Added toggle-class.
Added test for toggle-class.