Added Test for hook test