set PYTHONPATH only when running tests