test for collections and checkboxes