tests: made a test case for ngx.on_abort() more tolerant.