converted tests to XCTest