added and modified unit tests for collections and workset creation