testing: py3 fixes (for Debian wheezy)
testing: fix typos