CFY-1373 fixed mock to use new ctx api