Testing array for 3 dimensions