Quit hook test