added test for array as parameter widget set method