added tests for addClass(), removeClass(), hasClass() and toggleClass()