fixed one of the tests to support 2.6 python