Updated tests, use DOMError everywhere