fix bug in PostHookBreakpoint, add test