Migrating tests to xcodebuild and xcpretty.