adding integration test for Document.find
stashing more changes