test sub.getName
Test class.hasMethod and .getMethod
Test hasMethod, getMethod, callMethod on nonexistent methods
Fix supercall method invocation

    hasMethod checks whether the method exists in the inheritance
    hierarchy, so we need the local check here instead
Test method resolution itself
Fix getAttribute on inherited attributes

    hasAttribute checks whether the attribute exists in the inheritance
    hierarchy, so we need the local check here instead
hasAttribute and getAttribute tests