Use utf8 encoding for test
Remove File::Slurp as it does not work well in OSX