You are using the Hooks system, and wish to test one directly. Is it possible to run a Hook directly on the server for testing purposes?
Use the instructions in the link above to run the Hook with its event directly. This will need to be done on command-line.
This article is suggested to be used in conjunction with the following: