tests: fixed a case regarding ngx.on_abort().