test array of pointer