added more mocha tests to HTMLElementElement