Hooks test. References #6090096796449