Adding test to get a document.