modified testdoc