test-quad-textured-3d: few tweaks to figure out layer layout

which interestingly enough seems to be different for 3d/2d-array vs
cube.