encoding test files so they don't break on Travis-CI