Test environment for Python code