Don't try and verify class attributes that are classes themselves
Add a __name__ attribute to SubQuery so that it looks more like a function