Added new unit tests to check get documents.