add test to ensure function/after keeps reference to call context