Fix Jenkins tests.

Remove the test that was always failing, as it was a wrong test anyways.

And fix a crash on Python 2.6.