test that the analyze hooks are called