fix collection tests