updated collect test to test all types of collection tests