moved some TEM sims into jmGen.py and added tests