ran a test on the document