make except-as delete the target after the except clause
extend except-as test case