Tests do not work with py3, which means that probably also the code is not working with py3.