update test script: add pyflakes and pylint