added classList polyfill to tests