Adding a merge function which can be called when fetching corpora
added expect objects to be equal in a colection
jshint
adding merge for collections