Accepts optional context in defer
    Test case for defer job with context
    Halt defer wrapper when frame is negative