error in testing.py regular expression fixed