Fix test for returning all documents

Signed-off-by: Ian Macalinao <ian@giza.us>