ENH: Cleanup ObjectDocuments classes and add basic tests

Change-Id: Ia5a27b73f37d9f52e215ef784bb21373029034d5