Added utf8 encoding to tests