fixed AttributePrototype to Attribute class forwarding in __getattr__
improved test_dependency