Add a note about checking expectations in hooks

This is the documentation adjustment discussed in #7.