Update ootest.c

Add test for collections and iterators.