py3: make issue0066 test py2 and py3 compatible