mock.patch investigate