- fix tests to work on py3