Refactor test execution

Refactor test execution using a python script that invokes make and manages its output.