Add tests for changing classList.

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/776493002