backwards compat test only for python 2