decoratedFn and afterEach as async with promise resolver