Update maintest

Test suite is now all written in Python