Use helper in `make-mocks.js`
`getDocumentsWithInfo` function and test
`getDocumentByIdentifierWithInfo` function and test