:lipstick: Refactor test code

Add helper.createCallbackHook