testdoc goal implementation