Ignore pub sub before test hook

Any better suggestions? Please.