diff --git a/anytemplate/tests/import_errors.py b/anytemplate/tests/import_errors.py
index <HASH>..<HASH> 100644
--- a/anytemplate/tests/import_errors.py
+++ b/anytemplate/tests/import_errors.py
@@ -17,4 +17,12 @@ class Test(unittest.TestCase):
         self.assertFalse(cls in globals())
         self.assertFalse(getattr(anytemplate.globals, cls) is None)
 
+    def test_20_engines(self):
+        for mod in ("Cheetah", "jinja2", "mako", "tenjin", "pystache"):
+            sys.modules[mod] = None
+            import anytemplate.engine
+
+            self.assertTrue(sys.modules[mod] is None)
+            self.assertFalse(anytemplate.engine is None)
+
 # vim:sw=4:ts=4:et:
enhancement: add some more test cases to check import errors