diff --git a/tests/expand-manifest.html b/tests/expand-manifest.html
index f6fd2b1b..92a5ad1c 100644
--- a/tests/expand-manifest.html
+++ b/tests/expand-manifest.html
@@ -6407,6 +6407,34 @@
+
+Test tjs21 Expand JSON literal with @context
+
+
+
+- id
+- #tjs21
+- Type
+- jld:PositiveEvaluationTest, jld:ExpandTest
+- Purpose
+- Tests expanding JSON literal with a @context.
+- input
+-
+expand/js21-in.jsonld
+
+- expect
+-
+expand/js21-out.jsonld
+
+- Options
+-
+
+- specVersion
+- json-ld-1.1
+
+
+
+
Test tl001 Language map with null value
diff --git a/tests/expand-manifest.jsonld b/tests/expand-manifest.jsonld
index c0136f0d..9fa43c36 100644
--- a/tests/expand-manifest.jsonld
+++ b/tests/expand-manifest.jsonld
@@ -1927,6 +1927,14 @@
"input": "expand/js20-in.jsonld",
"expect": "expand/js20-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
+ }, {
+ "@id": "#tjs21",
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
+ "name": "Expand JSON literal with @context",
+ "purpose": "Tests expanding JSON literal with a @context.",
+ "input": "expand/js21-in.jsonld",
+ "expect": "expand/js21-out.jsonld",
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tl001",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
diff --git a/tests/expand/js21-in.jsonld b/tests/expand/js21-in.jsonld
new file mode 100644
index 00000000..85ccb0cd
--- /dev/null
+++ b/tests/expand/js21-in.jsonld
@@ -0,0 +1,12 @@
+{
+ "@context": {
+ "@version": 1.1,
+ "ex:foo": {
+ "@type": "@json"
+ }
+ },
+ "ex:foo": {
+ "@context": "ex:not:a:context",
+ "test": 1
+ }
+}
diff --git a/tests/expand/js21-out.jsonld b/tests/expand/js21-out.jsonld
new file mode 100644
index 00000000..8509c9cf
--- /dev/null
+++ b/tests/expand/js21-out.jsonld
@@ -0,0 +1,9 @@
+[{
+ "ex:foo": [{
+ "@type": "@json",
+ "@value": {
+ "@context": "ex:not:a:context",
+ "test": 1
+ }
+ }]
+}]
diff --git a/tests/toRdf-manifest.html b/tests/toRdf-manifest.html
index e1156a2a..d4f8cc64 100644
--- a/tests/toRdf-manifest.html
+++ b/tests/toRdf-manifest.html
@@ -6140,6 +6140,34 @@
+
+Test tjs21 Transform JSON literal with @context
+
+
+
+- id
+- #tjs21
+- Type
+- jld:PositiveEvaluationTest, jld:ToRDFTest
+- Purpose
+- Tests transforming JSON literal with a @context.
+- input
+-
+toRdf/js21-in.jsonld
+
+- expect
+-
+toRdf/js21-out.nq
+
+- Options
+-
+
+- specVersion
+- json-ld-1.1
+
+
+
+
Test tli01 @list containing @list
diff --git a/tests/toRdf-manifest.jsonld b/tests/toRdf-manifest.jsonld
index 6d87397a..c5023bee 100644
--- a/tests/toRdf-manifest.jsonld
+++ b/tests/toRdf-manifest.jsonld
@@ -1876,6 +1876,14 @@
"input": "toRdf/js20-in.jsonld",
"expect": "toRdf/js20-out.nq",
"option": {"specVersion": "json-ld-1.1"}
+ }, {
+ "@id": "#tjs21",
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
+ "name": "Transform JSON literal with @context",
+ "purpose": "Tests transforming JSON literal with a @context.",
+ "input": "toRdf/js21-in.jsonld",
+ "expect": "toRdf/js21-out.nq",
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tli01",
"@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
diff --git a/tests/toRdf/js21-in.jsonld b/tests/toRdf/js21-in.jsonld
new file mode 100644
index 00000000..85ccb0cd
--- /dev/null
+++ b/tests/toRdf/js21-in.jsonld
@@ -0,0 +1,12 @@
+{
+ "@context": {
+ "@version": 1.1,
+ "ex:foo": {
+ "@type": "@json"
+ }
+ },
+ "ex:foo": {
+ "@context": "ex:not:a:context",
+ "test": 1
+ }
+}
diff --git a/tests/toRdf/js21-out.nq b/tests/toRdf/js21-out.nq
new file mode 100644
index 00000000..eafb23e6
--- /dev/null
+++ b/tests/toRdf/js21-out.nq
@@ -0,0 +1 @@
+_:c14n0 "{\"@context\":\"ex:not:a:context\",\"test\":1}"^^ .