setters are applied on objects of array if specified

apply setters on objects of an array
added test for apply setter on each object of array