Make tests read from subprocess as UTF-8 text

This makes the test suite pass when ran with Python 3 (tested with 3.4)