Added foreach-test for multiple elements in collection