adding unit tests for document.find
stashing more changes