RidBag: Added test for iterator