correcting test to be compatible with python2.6