Test plugin: hook