updated test to python 2.5