Updated patch not to setup mock