Convert unit tests to XCTest.