Python Test Framework for External Program Commands