Fix failing integ test for py3