Migrate the tests to XCTest.