New tests fail on python 3.x because read() returns bytes and the test checks for strings