tests for document.{cookie,lastModified,readyState}