Tests that document.contains is O(1). PASS PASS PASS