Fixes invalid byte sequence when running tests on 1.9.3
Merge pull request #8 from deCasale/master

Fixes invalid byte sequence when running tests on 1.9.3