test for py2.5 and py3.3