     let modelPath = try XCTUnwrap(TFLImageClassifierTests.modelPath)
 
     let imageClassifierOptions = TFLImageClassifierOptions(modelPath: modelPath)
-    XCTAssertNotNil(imageClassifierOptions)
 
     let maxResults = 3
     imageClassifierOptions!.classificationOptions.maxResults = maxResults
 
     let imageClassifier =
-      try TFLImageClassifier.imageClassifier(options: imageClassifierOptions!)
+      try TFLImageClassifier.imageClassifier(options: imageClassifierOptions)
 
     let gmlImage = try XCTUnwrap(
       MLImage.imageFromBundle(

    let modelPath = try XCTUnwrap(TFLImageClassifierTests.modelPath)

    let imageClassifierOptions = TFLImageClassifierOptions(modelPath: modelPath)
    XCTAssertNotNil(imageClassifierOptions)

    let imageClassifier =
      try TFLImageClassifier.imageClassifier(options: imageClassifierOptions!)

    let gmlImage = try XCTUnwrap(
      MLImage.imageFromBundle(

    let modelPath = try XCTUnwrap(TFLImageClassifierTests.modelPath)

    let imageClassifierOptions = TFLImageClassifierOptions(modelPath: modelPath)

    let imageClassifier =
      try TFLImageClassifier.imageClassifier(options: imageClassifierOptions)

    let gmlImage = try XCTUnwrap(
      MLImage.imageFromBundle(
