inheritance spec: handle a recursive case without polluting the cache with partials.