fix for tests

tests expect a collection object as they use its count function so
return an empty collection rather than an empty array.