Fixed broken tests from NewHook removal