Add testcase for #740
diff --git a/tests/special_characters/SConscript b/tests/special_characters/SConscript
index 2309cf2..d3bd33b 100644
--- a/tests/special_characters/SConscript
+++ b/tests/special_characters/SConscript
@@ -2,5 +2,7 @@
 
 Import('env')
 
-env.NanopbProto("funny-proto+name has.characters.proto")
+env.NanopbProto(["funny-proto+name has.characters.proto", "funny-proto+name has.characters.options"])
 env.Object("funny-proto+name has.characters.pb.c")
+env.Match(['funny-proto+name has.characters.pb.h', 'specchars.expected'])
+
diff --git a/tests/special_characters/funny-proto+name has.characters.options b/tests/special_characters/funny-proto+name has.characters.options
new file mode 100644
index 0000000..b9e2575
--- /dev/null
+++ b/tests/special_characters/funny-proto+name has.characters.options
@@ -0,0 +1,3 @@
+// Unicode comment эмйÅÄÖ
+* max_count:10
+
diff --git a/tests/special_characters/funny-proto+name has.characters.proto b/tests/special_characters/funny-proto+name has.characters.proto
index f5170c8..879b796 100644
--- a/tests/special_characters/funny-proto+name has.characters.proto
+++ b/tests/special_characters/funny-proto+name has.characters.proto
@@ -1,8 +1,10 @@
 syntax="proto2";
 
+// Unicode comment эмйÅÄÖ
 message WorkingMessage {
         required int32 b = 1;
         required int32 Z = 2;
+        repeated int32 x = 3;
 }
 
 message FailingMessageBecauseMembersAreMacroParameter {
@@ -19,3 +21,5 @@
         required int32 X___  = 6;
         required int32 X____ = 7;
 }
+
+
diff --git a/tests/special_characters/specchars.expected b/tests/special_characters/specchars.expected
new file mode 100644
index 0000000..dc90cc4
--- /dev/null
+++ b/tests/special_characters/specchars.expected
@@ -0,0 +1,3 @@
+int32_t x\[10\];
+Unicode comment эмйÅÄÖ
+