Fix unit test, hooks reclaims **kwargs