add tests for collections