a test for the hook setup