added some functionnal tests for hooks to test assets, overriding, global functions from BaseHook