Add testNotInDocumentNonEval test
fix not in document non eval bug