added collection test
moved the serializer registry to utils. Added mor colletion tests.