Python: Test Programs