Fix test to use at least one document