Exit test correctly if 'n'ext test is not selected