Fixed the stop hook test after recent editline changes.