#838 migrate to XCTest