test array hepler