replace python test script with shell script which runs pep8 and pyflakes
run pep8 and pyflakes from travis