fix some tests so they can pass with python 2.6