this is good, though I don't think you need the debugSpy variable. You can just say `expect(_.debug).toHaveBeenCalled()`