diff --git a/asn1c/tests/data-62/Makefile b/asn1c/tests/data-62/Makefile
index eb8d641d05f9fa7bd9662f509242ac6ed427a735..b901d72daf13f1b104073e00539baba566a78cf0 100644
--- a/asn1c/tests/data-62/Makefile
+++ b/asn1c/tests/data-62/Makefile
@@ -1,7 +1,7 @@
 
 all:
 	@for xbr in *.xbr; do					\
-		ber=`echo "$$xbr" | sed -e 's/\.xbr$$/\.ber/`;	\
+		ber=`echo "$$xbr" | sed -e 's/\.xbr$$/\.ber/'`;	\
 		if [ $$xbr -nt $$ber ]; then			\
 			echo "../../enber $$xbr > $$ber";	\
 			../../enber $$xbr > $$ber || exit $$?;	\
diff --git a/asn1c/tests/data-62/data-62-30-L.ber b/asn1c/tests/data-62/data-62-30-L.ber
new file mode 100644
index 0000000000000000000000000000000000000000..b80bed39978ef2e0827bac4057e0695b8438d0ed
Binary files /dev/null and b/asn1c/tests/data-62/data-62-30-L.ber differ
diff --git a/asn1c/tests/data-62/data-62-30-L.xbr b/asn1c/tests/data-62/data-62-30-L.xbr
new file mode 100644
index 0000000000000000000000000000000000000000..d225c174caa73db5b369faa488e935883e66bf75
--- /dev/null
+++ b/asn1c/tests/data-62/data-62-30-L.xbr
@@ -0,0 +1,8 @@
+<I T="[16]" TL="2" V="Indefinite">
+	<P T="[0]" TL="2" V="2">&x37;&x39;</P>
+	<P T="[1]" TL="2" V="1">&x00;</P>
+	<C T="[3]" TL="2" V="13">
+		<P T="[UNIVERSAL 18]" TL="2" V="11" A="NumericString">79023700808</P>
+	</C>
+	<P T="[4]" TL="2" V="1">&x00;</P>
+</I T="[UNIVERSAL 0]" TL="2">
diff --git a/asn1c/tests/data-62/data-62-31-D.ber b/asn1c/tests/data-62/data-62-31-D.ber
new file mode 100644
index 0000000000000000000000000000000000000000..f1b74d0864f64fa6eb8e497cb3cfa59170ab655d
Binary files /dev/null and b/asn1c/tests/data-62/data-62-31-D.ber differ
diff --git a/asn1c/tests/data-62/data-62-31-D.xbr b/asn1c/tests/data-62/data-62-31-D.xbr
new file mode 100644
index 0000000000000000000000000000000000000000..b903a84e231c1d7ca7463165daf36d7d0873b431
--- /dev/null
+++ b/asn1c/tests/data-62/data-62-31-D.xbr
@@ -0,0 +1,8 @@
+<I T="[16]" TL="2" V="Indefinite">
+	<P T="[0]" TL="2" V="2">&x37;&x39;</P>
+	<P T="[1]" TL="2" V="1">&x00;</P>
+	<I T="[3]" TL="2" V="Indefinite">
+		<P T="[UNIVERSAL 18]" TL="2" V="11" A="NumericString">79023700808</P>
+	</I T="[UNIVERSAL 0]" TL="2">
+	<P T="[4]" TL="2" V="1">&x00;</P>
+</I T="[UNIVERSAL 0]" TL="2">