Yeah I agree that we shouldn't directly just print the output of dir() since it will be a while before we match that exactly, but it looks like right now we're not testing the results at all?  Maybe we could do something like
```python
def test_in_dir(names, obj):
    r = dir(obj)
    print [n in r for n in names]
test_in_dir(["a", "b", "c"], str())
```