Some more tests for hooks (call_integration_hook and static methods)

Signed-off-by: emanuele <emanuele45@gmail.com>