Added some code for creating sample collections.
added unit tests generation for collections
Deserializer for collections