SLING-3547, fix tests for arrays