fix a bug of 'abort' option.
update test case.
updated routing logics.