Add unit tests back into texmex

Herewith a pull request that adds the unit tests back into texmex.

Note that the package doesn't build: you need some of the other pull requests to make this happen.