convert to XCTests