ENH: Better test coverage

Not ready for review/merge yet.
I still don't get it. This should return the shape of a texture, and this function's purpose if to make that it always returns an index for the color. Also a texture has at least one dimension.