Easiest regression test I’ve ever written for a real-world bug:

func testDefaultConfigurationsAreEqual() {
    XCTAssertEqual(PDFConfiguration(), PDFConfiguration())
}