Fixed testing issue with python2.5 and shotgun v5.1.x