it("should return the selected row index with the value of the number of rows minus one", function() {
      const rows = [["A1", "B1"], ["A2", "B2"]];
      const selectedCell = [1,2];
      const expectedResult = [1,1];
      expect(correctSelectedCellIndex(selectedCell, rows)).to.deep.equals(expectedResult);