mmi python and tools for testing