support tests for python 2.5+