ENH: Better test coverage

Not ready for review/merge yet.
If someone does `tex[0, 0, 0]` for a 2D texture, should it throw an error then?