added test for capacity to get distinct on subdocument of a list