test for array referenced by array of ptrs