Tests document.all