tests for find-and-modify hooks