figured out XCTest issue (import R2Newark), additional conversions to swift