Update re_tester.py

Pytohn 2.7 support