Tests broken in master

So looking at the 2.24 tag we had implemented timeout support for hooks. For some reason it is not working. Investigating. EDIT: This is now tracked in topic Hook timeout mechanism not working in 2.24