Use new Mode.abort().
Added repeat-last-test.