Fixed hard coded URLs in HookTests