Ensure PYTHONPATH is set for tests