Python-based base test harness