 
 		XCTAssertGreaterThan(visibleCells.count, 0, "UITableView visible cells must be greater than 0")
 
-		for collectionTableCell: GLCollectionTableViewCell in visibleCells as! [GLCollectionTableViewCell] {
+		visibleCells.forEach { cell in
+			guard let collectionTableCell: GLCollectionTableViewCell = cell as? GLCollectionTableViewCell else {
+				fatalError("UITableViewCells must be GLCollectionTableViewCell")
+			}
+
 			XCTAssertTrue(collectionTableCell.collectionView.isOpaque, "The UICollectionView should be opaque for increased performances")
 		}
 	}

	func testUITableViewCellClasses() {
		XCTAssertGreaterThan(visibleCells.count, 0, "UITableView visible cells must be greater than 0")

		for tableViewCell in visibleCells {
			XCTAssertTrue(tableViewCell is GLCollectionTableViewCell, "UITableViewCells must be GLCollectionTableViewCell")
		}
	}


		XCTAssertGreaterThan(visibleCells.count, 0, "UITableView visible cells must be greater than 0")

		visibleCells.forEach { cell in
			guard let collectionTableCell: GLCollectionTableViewCell = cell as? GLCollectionTableViewCell else {
				fatalError("UITableViewCells must be GLCollectionTableViewCell")
			}

