Fix test/element-test.js