findDocumentDossiers passes initial behaviour tests
getDocument stub added
Refactored error handling