Py3 compat and parser tests