add tests for collections and collection-migrations