Hooking device and driver for test mode