ensuring PYTHONPATH is configured correctly when running tests