Added functionality to specify custom names for collections. Added associated test