added a simple test for collections