dynamic composite greedy array test added