add hook for one-off test