add test for multiple hooks