* fixed tests for python2