* add layer for collections in media source tree * re-arange tests, add test for collection layer * fix