 		let statuses = articleIds.map { SyncStatus(articleID: $0, key: .read, flag: false) }
 		
 		let insertExpectation = expectation(description: "Inserted Statuses")
-		container.database.insertStatuses(statuses) {
+		container.database.insertStatuses(statuses) { error in
+			XCTAssertNil(error)
 			insertExpectation.fulfill()
 		}
 		

		let statuses = articleIds.map { SyncStatus(articleID: $0, key: .read, flag: false) }
		
		let insertExpectation = expectation(description: "Inserted Statuses")
		container.database.insertStatuses(statuses) {
			insertExpectation.fulfill()
		}
		

		
		waitForExpectations(timeout: 2)
		
		container.database.selectPendingCount { result in
			do {
				let statusCount = try result.get()
				XCTAssertEqual(statusCount, 0)
			} catch let e {
				XCTFail("Error unwrapping database result: \(e)")
			}
		}
	}
	
	func testSendStarredFailure() {
