ENH: Better test coverage

Not ready for review/merge yet.
This should be `depth, height, width = pixels`. See e.g. how `glTexImage3D` is used in this module.