I am trying to spy on a named function, exported from the same file from the function I am trying to test. I want to test that function has been called. I want to avoid mocking