convert tests to XCTest