Start porting our test scripts to Python. Add ctest support.