Python test scripts