Call mocked module func in correct context