fix(mocks): fix mocks so they handle hooks correctly

BREAKING CHANGE