Test Dart: JsObject to HtmlDocument