diff --git a/tests/test_everything.py b/tests/test_everything.py
index f72a27c..924d78c 100644
--- a/tests/test_everything.py
+++ b/tests/test_everything.py
@@ -131,6 +131,18 @@ class TestEverything(unittest.TestCase):
         gtype = Everything.test_gtype(ARegisteredClass)
         self.assertEquals(ARegisteredClass.__gtype__, gtype)
         self.assertRaises(TypeError, Everything.test_gtype, 'ARegisteredClass')
+        
+    def test_dir(self):
+        attr_list = dir(Everything)
+        # test that typelib attrs are listed
+        self.assertTrue('TestStructA' in attr_list)
+        # test that class attributes and methods are listed
+        self.assertTrue('__class__' in attr_list)
+        self.assertTrue('__dir__' in attr_list)
+        self.assertTrue('__repr__' in attr_list)
+        # test that instance members are listed
+        self.assertTrue('_namespace' in attr_list)
+        self.assertTrue('version' in attr_list)
 
 class TestNullableArgs(unittest.TestCase):
     def test_in_nullable_hash(self):
