Moved tests/testsuite.py code into makefile