Fix failing integ test on py3