Convert to XCTest.