testsuite: fixed PYTHONPATH in pylint checks
fixed some pylint errors