added mkctests.py from teh other day