Added test cases for collections