'Document has browsing context' test for created callback is added