Added the true flag for whole document in the tests