diff --git a/tests/test_parser.py b/tests/test_parser.py
index <HASH>..<HASH> 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -247,6 +247,8 @@ class TestParse(unittest.TestCase):
         bad_blocks = (
             "Group = name bob = uncle END_OBJECT",
             "GROUP= name = bob = uncle END_GROUP",
+            "OBJECT = L1 V = 123 END_OBJECT = bad",
+            "OBJECT = L1 OBJECT = L2 V = 123 END_OBJECT = bad END_OBJECT = L1"
             "",
         )
         for b in bad_blocks:
test(test_parser.py): Added a nested set of agg blocks that should raise cleanly, but don't.  Issue <I>.