Mark the resources in the test folder as binary to prevent unexpected line-feed conversion
diff --git a/tests/resources/.gitattributes b/tests/resources/.gitattributes
new file mode 100644
index 0000000..556f8c8
--- /dev/null
+++ b/tests/resources/.gitattributes
@@ -0,0 +1 @@
+* binary