Adds tests for DocPart. Adds shell of DocPart class