         }
     }
     
-    func testReleaseNestedSavepoint() {
+    func testReleaseSavepoint() {
         assertNoError {
             let dbQueue = try makeDatabaseQueue()
             let observer = TransactionObserver()

                XCTAssertEqual(Int.fetchOne(db, "SELECT COUNT(*) FROM items4"), 1)
            }
            
            XCTAssertEqual(observer.lastCommittedEvents.count, 3)
            XCTAssertTrue(match(event: observer.lastCommittedEvents[0], kind: .Insert, tableName: "items1", rowId: 1))
            XCTAssertTrue(match(event: observer.lastCommittedEvents[1], kind: .Insert, tableName: "items2", rowId: 1))
            XCTAssertTrue(match(event: observer.lastCommittedEvents[2], kind: .Insert, tableName: "items3", rowId: 1))

                try db.execute("ROLLBACK TO SAVEPOINT sp1")
                XCTAssertEqual(observer.events.count, 1)
                try db.execute("INSERT INTO items4 (id) VALUES (NULL)")
                XCTAssertEqual(observer.events.count, 1)
                try db.execute("COMMIT")
                
                XCTAssertEqual(Int.fetchOne(db, "SELECT COUNT(*) FROM items1"), 1)
