Initial commit of document object constructor and test.