Removing Python 2.5 from Travis build
Fix test case for Python 2.6