Test for hook
Updated for hook test