Fixing empty-collection in test