get type is no longer needed on a document as the type is stored with the document
added tests around uint key