DocumentCollection.docFrequency passes tests