Fixes mocks dependencies