Add nose tests as .py files

Transformer tests for IPython and _repr_latex tests still missing.