update tests to XCTest