added a test that verifies aborted behavior and erroring