use our own document and not a deprecated one from testing component