Fix minor errors on the tests
Add FreezableCollectionTrait for freezing a collection of freezable items