Array of pointers test code