Fix typo & add test for returning all docs.