afterEach() does not call runHooks if top element in stack is not leaf