Python test phase