testdoc goal

Implemented testdoc goal, probably a few things to change but those are all additions we can do later.