Add regression tests and documentation for latex rendering, and create a toyplot.testing module to store testing code.