update tests because HTMLElement is removed, callback names changed