fix python version in scripts
listener.py: fix test class