Added a test for collection helper