order independent array testing NOT part of this PR