diff --git a/test/test_sympy.py b/test/test_sympy.py
index e3d7a8a1599588ff00e1879178ed72e2afc86eb0..2286d266ba667bfe60a59c12ffc87612d873a02a 100644
--- a/test/test_sympy.py
+++ b/test/test_sympy.py
@@ -95,6 +95,8 @@ def _test_from_pymbolic(mapper, sym):
     assert mapper(prim.Derivative(x_**2, ("x",))) == \
         sym.Derivative(x**2, x)
 
+    assert mapper(x_[0]) == sym.Symbol("x_0")
+
 # }}}