Pep8 fixes
Improved test for speed and possible segment faults
Forgot a "print" in the tests
Added cool tidy style MQL generation