chore: Add onabort tests (#57431)