Add a test for collections