Fixed side effect on other tests

Issue: SPR-10459
Consistent vararg declarations for String array setters