test_sys: add a test on the file system encoding for darwin
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index c056f9a..3711804 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -863,6 +863,11 @@
         # sys.flags
         check(sys.flags, size(vh) + self.P * len(sys.flags))
 
+    def test_getfilesystemencoding(self):
+        fs_encoding = sys.getfilesystemencoding()
+        if sys.platform == 'darwin':
+            self.assertEqual(fs_encoding, 'utf-8')
+
     def test_setfilesystemencoding(self):
         old = sys.getfilesystemencoding()
         try: