UNPKG

bible-ref-parse

Version:

Identifies and parses Bible references (like John 3:16) in over 40 languages.

1,782 lines • 78.3 kB
(function() {
  var bcv_parser;

  bcv_parser = require("../../dist/ee-bcv-parser.js").bcv_parser;

  describe("Parsing (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.options.osis_compaction_strategy = "b";
      p.options.sequence_combination_strategy = "combine";
    });
    it("should round-trip OSIS references", function() {
      var bc, bcv, bcv_range, book, books, i, len;
      p.set_options({
        osis_compaction_strategy: "bc"
      });
      books = ["Gen", "Exod", "Lev", "Num", "Deut", "Josh", "Judg", "Ruth", "1Sam", "2Sam", "1Kgs", "2Kgs", "1Chr", "2Chr", "Ezra", "Neh", "Esth", "Job", "Ps", "Prov", "Eccl", "Song", "Isa", "Jer", "Lam", "Ezek", "Dan", "Hos", "Joel", "Amos", "Obad", "Jonah", "Mic", "Nah", "Hab", "Zeph", "Hag", "Zech", "Mal", "Matt", "Mark", "Luke", "John", "Acts", "Rom", "1Cor", "2Cor", "Gal", "Eph", "Phil", "Col", "1Thess", "2Thess", "1Tim", "2Tim", "Titus", "Phlm", "Heb", "Jas", "1Pet", "2Pet", "1John", "2John", "3John", "Jude", "Rev"];
      for (i = 0, len = books.length; i < len; i++) {
        book = books[i];
        bc = book + ".1";
        bcv = bc + ".1";
        bcv_range = bcv + "-" + bc + ".2";
        expect(p.parse(bc).osis()).toEqual(bc);
        expect(p.parse(bcv).osis()).toEqual(bcv);
        expect(p.parse(bcv_range).osis()).toEqual(bcv_range);
      }
    });
    it("should round-trip OSIS Apocrypha references", function() {
      var bc, bcv, bcv_range, book, books, i, j, len, len1;
      p.set_options({
        osis_compaction_strategy: "bc",
        ps151_strategy: "b"
      });
      p.include_apocrypha(true);
      books = ["Tob", "Jdt", "GkEsth", "Wis", "Sir", "Bar", "PrAzar", "Sus", "Bel", "SgThree", "EpJer", "1Macc", "2Macc", "3Macc", "4Macc", "1Esd", "2Esd", "PrMan", "Ps151"];
      for (i = 0, len = books.length; i < len; i++) {
        book = books[i];
        bc = book + ".1";
        bcv = bc + ".1";
        bcv_range = bcv + "-" + bc + ".2";
        expect(p.parse(bc).osis()).toEqual(bc);
        expect(p.parse(bcv).osis()).toEqual(bcv);
        expect(p.parse(bcv_range).osis()).toEqual(bcv_range);
      }
      p.set_options({
        ps151_strategy: "bc"
      });
      expect(p.parse("Ps151.1").osis()).toEqual("Ps.151");
      expect(p.parse("Ps151.1.1").osis()).toEqual("Ps.151.1");
      expect(p.parse("Ps151.1-Ps151.2").osis()).toEqual("Ps.151.1-Ps.151.2");
      p.include_apocrypha(false);
      for (j = 0, len1 = books.length; j < len1; j++) {
        book = books[j];
        bc = book + ".1";
        expect(p.parse(bc).osis()).toEqual("");
      }
    });
    it("should handle a preceding character", function() {
      expect(p.parse(" Gen 1").osis()).toEqual("Gen.1");
      expect(p.parse("Matt5John3").osis()).toEqual("Matt.5,John.3");
      expect(p.parse("1Ps 1").osis()).toEqual("");
      expect(p.parse("11Sam 1").osis()).toEqual("");
    });
  });

  describe("Localized book Gen (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Gen (ee)", function() {
      expect(p.parse("Gen 1:1").osis()).toEqual("Gen.1.1", "parsing: 'Gen 1:1'");
      expect(p.parse("Ɖeŋ 1:1").osis()).toEqual("Gen.1.1", "parsing: 'Ɖeŋ 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("GEN 1:1").osis()).toEqual("Gen.1.1", "parsing: 'GEN 1:1'");
      expect(p.parse("ƉEŊ 1:1").osis()).toEqual("Gen.1.1", "parsing: 'ƉEŊ 1:1'");
    });
  });

  describe("Localized book Exod (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Exod (ee)", function() {
      expect(p.parse("Eksodus 1:1").osis()).toEqual("Exod.1.1", "parsing: 'Eksodus 1:1'");
      expect(p.parse("Exod 1:1").osis()).toEqual("Exod.1.1", "parsing: 'Exod 1:1'");
      expect(p.parse("Eks 1:1").osis()).toEqual("Exod.1.1", "parsing: 'Eks 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("EKSODUS 1:1").osis()).toEqual("Exod.1.1", "parsing: 'EKSODUS 1:1'");
      expect(p.parse("EXOD 1:1").osis()).toEqual("Exod.1.1", "parsing: 'EXOD 1:1'");
      expect(p.parse("EKS 1:1").osis()).toEqual("Exod.1.1", "parsing: 'EKS 1:1'");
    });
  });

  describe("Localized book Lev (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Lev (ee)", function() {
      expect(p.parse("Levitikos 1:1").osis()).toEqual("Lev.1.1", "parsing: 'Levitikos 1:1'");
      expect(p.parse("Lev 1:1").osis()).toEqual("Lev.1.1", "parsing: 'Lev 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("LEVITIKOS 1:1").osis()).toEqual("Lev.1.1", "parsing: 'LEVITIKOS 1:1'");
      expect(p.parse("LEV 1:1").osis()).toEqual("Lev.1.1", "parsing: 'LEV 1:1'");
    });
  });

  describe("Localized book Num (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Num (ee)", function() {
      expect(p.parse("Numɛr 1:1").osis()).toEqual("Num.1.1", "parsing: 'Numɛr 1:1'");
      expect(p.parse("Num 1:1").osis()).toEqual("Num.1.1", "parsing: 'Num 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("NUMƐR 1:1").osis()).toEqual("Num.1.1", "parsing: 'NUMƐR 1:1'");
      expect(p.parse("NUM 1:1").osis()).toEqual("Num.1.1", "parsing: 'NUM 1:1'");
    });
  });

  describe("Localized book Lam (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Lam (ee)", function() {
      expect(p.parse("Srawo 1:1").osis()).toEqual("Lam.1.1", "parsing: 'Srawo 1:1'");
      expect(p.parse("Lam 1:1").osis()).toEqual("Lam.1.1", "parsing: 'Lam 1:1'");
      expect(p.parse("Sra 1:1").osis()).toEqual("Lam.1.1", "parsing: 'Sra 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("SRAWO 1:1").osis()).toEqual("Lam.1.1", "parsing: 'SRAWO 1:1'");
      expect(p.parse("LAM 1:1").osis()).toEqual("Lam.1.1", "parsing: 'LAM 1:1'");
      expect(p.parse("SRA 1:1").osis()).toEqual("Lam.1.1", "parsing: 'SRA 1:1'");
    });
  });

  describe("Localized book Rev (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Rev (ee)", function() {
      expect(p.parse("Aflama 1:1").osis()).toEqual("Rev.1.1", "parsing: 'Aflama 1:1'");
      expect(p.parse("Afl 1:1").osis()).toEqual("Rev.1.1", "parsing: 'Afl 1:1'");
      expect(p.parse("Rev 1:1").osis()).toEqual("Rev.1.1", "parsing: 'Rev 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("AFLAMA 1:1").osis()).toEqual("Rev.1.1", "parsing: 'AFLAMA 1:1'");
      expect(p.parse("AFL 1:1").osis()).toEqual("Rev.1.1", "parsing: 'AFL 1:1'");
      expect(p.parse("REV 1:1").osis()).toEqual("Rev.1.1", "parsing: 'REV 1:1'");
    });
  });

  describe("Localized book Deut (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Deut (ee)", function() {
      expect(p.parse("Detronomi 1:1").osis()).toEqual("Deut.1.1", "parsing: 'Detronomi 1:1'");
      expect(p.parse("Deut 1:1").osis()).toEqual("Deut.1.1", "parsing: 'Deut 1:1'");
      expect(p.parse("Det 1:1").osis()).toEqual("Deut.1.1", "parsing: 'Det 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("DETRONOMI 1:1").osis()).toEqual("Deut.1.1", "parsing: 'DETRONOMI 1:1'");
      expect(p.parse("DEUT 1:1").osis()).toEqual("Deut.1.1", "parsing: 'DEUT 1:1'");
      expect(p.parse("DET 1:1").osis()).toEqual("Deut.1.1", "parsing: 'DET 1:1'");
    });
  });

  describe("Localized book Josh (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Josh (ee)", function() {
      expect(p.parse("Yosua 1:1").osis()).toEqual("Josh.1.1", "parsing: 'Yosua 1:1'");
      expect(p.parse("Josh 1:1").osis()).toEqual("Josh.1.1", "parsing: 'Josh 1:1'");
      expect(p.parse("Yos 1:1").osis()).toEqual("Josh.1.1", "parsing: 'Yos 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("YOSUA 1:1").osis()).toEqual("Josh.1.1", "parsing: 'YOSUA 1:1'");
      expect(p.parse("JOSH 1:1").osis()).toEqual("Josh.1.1", "parsing: 'JOSH 1:1'");
      expect(p.parse("YOS 1:1").osis()).toEqual("Josh.1.1", "parsing: 'YOS 1:1'");
    });
  });

  describe("Localized book Judg (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Judg (ee)", function() {
      expect(p.parse("Wogbɔ 1:1").osis()).toEqual("Judg.1.1", "parsing: 'Wogbɔ 1:1'");
      expect(p.parse("Judg 1:1").osis()).toEqual("Judg.1.1", "parsing: 'Judg 1:1'");
      expect(p.parse("Wog 1:1").osis()).toEqual("Judg.1.1", "parsing: 'Wog 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("WOGBƆ 1:1").osis()).toEqual("Judg.1.1", "parsing: 'WOGBƆ 1:1'");
      expect(p.parse("JUDG 1:1").osis()).toEqual("Judg.1.1", "parsing: 'JUDG 1:1'");
      expect(p.parse("WOG 1:1").osis()).toEqual("Judg.1.1", "parsing: 'WOG 1:1'");
    });
  });

  describe("Localized book Ruth (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Ruth (ee)", function() {
      expect(p.parse("Ruth 1:1").osis()).toEqual("Ruth.1.1", "parsing: 'Ruth 1:1'");
      expect(p.parse("Rut 1:1").osis()).toEqual("Ruth.1.1", "parsing: 'Rut 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("RUTH 1:1").osis()).toEqual("Ruth.1.1", "parsing: 'RUTH 1:1'");
      expect(p.parse("RUT 1:1").osis()).toEqual("Ruth.1.1", "parsing: 'RUT 1:1'");
    });
  });

  describe("Localized book Isa (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Isa (ee)", function() {
      expect(p.parse("Yesaya 1:1").osis()).toEqual("Isa.1.1", "parsing: 'Yesaya 1:1'");
      expect(p.parse("Isa 1:1").osis()).toEqual("Isa.1.1", "parsing: 'Isa 1:1'");
      expect(p.parse("Yes 1:1").osis()).toEqual("Isa.1.1", "parsing: 'Yes 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("YESAYA 1:1").osis()).toEqual("Isa.1.1", "parsing: 'YESAYA 1:1'");
      expect(p.parse("ISA 1:1").osis()).toEqual("Isa.1.1", "parsing: 'ISA 1:1'");
      expect(p.parse("YES 1:1").osis()).toEqual("Isa.1.1", "parsing: 'YES 1:1'");
    });
  });

  describe("Localized book 2Sam (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 2Sam (ee)", function() {
      expect(p.parse("2. Samwel 1:1").osis()).toEqual("2Sam.1.1", "parsing: '2. Samwel 1:1'");
      expect(p.parse("2 Samwel 1:1").osis()).toEqual("2Sam.1.1", "parsing: '2 Samwel 1:1'");
      expect(p.parse("2. Sa 1:1").osis()).toEqual("2Sam.1.1", "parsing: '2. Sa 1:1'");
      expect(p.parse("2 Sa 1:1").osis()).toEqual("2Sam.1.1", "parsing: '2 Sa 1:1'");
      expect(p.parse("2Sam 1:1").osis()).toEqual("2Sam.1.1", "parsing: '2Sam 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("2. SAMWEL 1:1").osis()).toEqual("2Sam.1.1", "parsing: '2. SAMWEL 1:1'");
      expect(p.parse("2 SAMWEL 1:1").osis()).toEqual("2Sam.1.1", "parsing: '2 SAMWEL 1:1'");
      expect(p.parse("2. SA 1:1").osis()).toEqual("2Sam.1.1", "parsing: '2. SA 1:1'");
      expect(p.parse("2 SA 1:1").osis()).toEqual("2Sam.1.1", "parsing: '2 SA 1:1'");
      expect(p.parse("2SAM 1:1").osis()).toEqual("2Sam.1.1", "parsing: '2SAM 1:1'");
    });
  });

  describe("Localized book 1Sam (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 1Sam (ee)", function() {
      expect(p.parse("1. Samwel 1:1").osis()).toEqual("1Sam.1.1", "parsing: '1. Samwel 1:1'");
      expect(p.parse("le Samwel 1:1").osis()).toEqual("1Sam.1.1", "parsing: 'le Samwel 1:1'");
      expect(p.parse("1 Samwel 1:1").osis()).toEqual("1Sam.1.1", "parsing: '1 Samwel 1:1'");
      expect(p.parse("1. Sa 1:1").osis()).toEqual("1Sam.1.1", "parsing: '1. Sa 1:1'");
      expect(p.parse("le Sa 1:1").osis()).toEqual("1Sam.1.1", "parsing: 'le Sa 1:1'");
      expect(p.parse("1 Sa 1:1").osis()).toEqual("1Sam.1.1", "parsing: '1 Sa 1:1'");
      expect(p.parse("1Sam 1:1").osis()).toEqual("1Sam.1.1", "parsing: '1Sam 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("1. SAMWEL 1:1").osis()).toEqual("1Sam.1.1", "parsing: '1. SAMWEL 1:1'");
      expect(p.parse("LE SAMWEL 1:1").osis()).toEqual("1Sam.1.1", "parsing: 'LE SAMWEL 1:1'");
      expect(p.parse("1 SAMWEL 1:1").osis()).toEqual("1Sam.1.1", "parsing: '1 SAMWEL 1:1'");
      expect(p.parse("1. SA 1:1").osis()).toEqual("1Sam.1.1", "parsing: '1. SA 1:1'");
      expect(p.parse("LE SA 1:1").osis()).toEqual("1Sam.1.1", "parsing: 'LE SA 1:1'");
      expect(p.parse("1 SA 1:1").osis()).toEqual("1Sam.1.1", "parsing: '1 SA 1:1'");
      expect(p.parse("1SAM 1:1").osis()).toEqual("1Sam.1.1", "parsing: '1SAM 1:1'");
    });
  });

  describe("Localized book 2Kgs (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 2Kgs (ee)", function() {
      expect(p.parse("2. Fiakuku 1:1").osis()).toEqual("2Kgs.1.1", "parsing: '2. Fiakuku 1:1'");
      expect(p.parse("2 Fiakuku 1:1").osis()).toEqual("2Kgs.1.1", "parsing: '2 Fiakuku 1:1'");
      expect(p.parse("2. Fi 1:1").osis()).toEqual("2Kgs.1.1", "parsing: '2. Fi 1:1'");
      expect(p.parse("2 Fi 1:1").osis()).toEqual("2Kgs.1.1", "parsing: '2 Fi 1:1'");
      expect(p.parse("2Kgs 1:1").osis()).toEqual("2Kgs.1.1", "parsing: '2Kgs 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("2. FIAKUKU 1:1").osis()).toEqual("2Kgs.1.1", "parsing: '2. FIAKUKU 1:1'");
      expect(p.parse("2 FIAKUKU 1:1").osis()).toEqual("2Kgs.1.1", "parsing: '2 FIAKUKU 1:1'");
      expect(p.parse("2. FI 1:1").osis()).toEqual("2Kgs.1.1", "parsing: '2. FI 1:1'");
      expect(p.parse("2 FI 1:1").osis()).toEqual("2Kgs.1.1", "parsing: '2 FI 1:1'");
      expect(p.parse("2KGS 1:1").osis()).toEqual("2Kgs.1.1", "parsing: '2KGS 1:1'");
    });
  });

  describe("Localized book 1Kgs (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 1Kgs (ee)", function() {
      expect(p.parse("1. Fiakuku 1:1").osis()).toEqual("1Kgs.1.1", "parsing: '1. Fiakuku 1:1'");
      expect(p.parse("le Fiakuku 1:1").osis()).toEqual("1Kgs.1.1", "parsing: 'le Fiakuku 1:1'");
      expect(p.parse("1 Fiakuku 1:1").osis()).toEqual("1Kgs.1.1", "parsing: '1 Fiakuku 1:1'");
      expect(p.parse("1. Fi 1:1").osis()).toEqual("1Kgs.1.1", "parsing: '1. Fi 1:1'");
      expect(p.parse("le Fi 1:1").osis()).toEqual("1Kgs.1.1", "parsing: 'le Fi 1:1'");
      expect(p.parse("1 Fi 1:1").osis()).toEqual("1Kgs.1.1", "parsing: '1 Fi 1:1'");
      expect(p.parse("1Kgs 1:1").osis()).toEqual("1Kgs.1.1", "parsing: '1Kgs 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("1. FIAKUKU 1:1").osis()).toEqual("1Kgs.1.1", "parsing: '1. FIAKUKU 1:1'");
      expect(p.parse("LE FIAKUKU 1:1").osis()).toEqual("1Kgs.1.1", "parsing: 'LE FIAKUKU 1:1'");
      expect(p.parse("1 FIAKUKU 1:1").osis()).toEqual("1Kgs.1.1", "parsing: '1 FIAKUKU 1:1'");
      expect(p.parse("1. FI 1:1").osis()).toEqual("1Kgs.1.1", "parsing: '1. FI 1:1'");
      expect(p.parse("LE FI 1:1").osis()).toEqual("1Kgs.1.1", "parsing: 'LE FI 1:1'");
      expect(p.parse("1 FI 1:1").osis()).toEqual("1Kgs.1.1", "parsing: '1 FI 1:1'");
      expect(p.parse("1KGS 1:1").osis()).toEqual("1Kgs.1.1", "parsing: '1KGS 1:1'");
    });
  });

  describe("Localized book 2Chr (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 2Chr (ee)", function() {
      expect(p.parse("2. Henɔ 1:1").osis()).toEqual("2Chr.1.1", "parsing: '2. Henɔ 1:1'");
      expect(p.parse("2 Henɔ 1:1").osis()).toEqual("2Chr.1.1", "parsing: '2 Henɔ 1:1'");
      expect(p.parse("2. He 1:1").osis()).toEqual("2Chr.1.1", "parsing: '2. He 1:1'");
      expect(p.parse("2 He 1:1").osis()).toEqual("2Chr.1.1", "parsing: '2 He 1:1'");
      expect(p.parse("2Chr 1:1").osis()).toEqual("2Chr.1.1", "parsing: '2Chr 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("2. HENƆ 1:1").osis()).toEqual("2Chr.1.1", "parsing: '2. HENƆ 1:1'");
      expect(p.parse("2 HENƆ 1:1").osis()).toEqual("2Chr.1.1", "parsing: '2 HENƆ 1:1'");
      expect(p.parse("2. HE 1:1").osis()).toEqual("2Chr.1.1", "parsing: '2. HE 1:1'");
      expect(p.parse("2 HE 1:1").osis()).toEqual("2Chr.1.1", "parsing: '2 HE 1:1'");
      expect(p.parse("2CHR 1:1").osis()).toEqual("2Chr.1.1", "parsing: '2CHR 1:1'");
    });
  });

  describe("Localized book 1Chr (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 1Chr (ee)", function() {
      expect(p.parse("1. Henɔ 1:1").osis()).toEqual("1Chr.1.1", "parsing: '1. Henɔ 1:1'");
      expect(p.parse("le Henɔ 1:1").osis()).toEqual("1Chr.1.1", "parsing: 'le Henɔ 1:1'");
      expect(p.parse("1 Henɔ 1:1").osis()).toEqual("1Chr.1.1", "parsing: '1 Henɔ 1:1'");
      expect(p.parse("1. He 1:1").osis()).toEqual("1Chr.1.1", "parsing: '1. He 1:1'");
      expect(p.parse("le He 1:1").osis()).toEqual("1Chr.1.1", "parsing: 'le He 1:1'");
      expect(p.parse("1 He 1:1").osis()).toEqual("1Chr.1.1", "parsing: '1 He 1:1'");
      expect(p.parse("1Chr 1:1").osis()).toEqual("1Chr.1.1", "parsing: '1Chr 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("1. HENƆ 1:1").osis()).toEqual("1Chr.1.1", "parsing: '1. HENƆ 1:1'");
      expect(p.parse("LE HENƆ 1:1").osis()).toEqual("1Chr.1.1", "parsing: 'LE HENƆ 1:1'");
      expect(p.parse("1 HENƆ 1:1").osis()).toEqual("1Chr.1.1", "parsing: '1 HENƆ 1:1'");
      expect(p.parse("1. HE 1:1").osis()).toEqual("1Chr.1.1", "parsing: '1. HE 1:1'");
      expect(p.parse("LE HE 1:1").osis()).toEqual("1Chr.1.1", "parsing: 'LE HE 1:1'");
      expect(p.parse("1 HE 1:1").osis()).toEqual("1Chr.1.1", "parsing: '1 HE 1:1'");
      expect(p.parse("1CHR 1:1").osis()).toEqual("1Chr.1.1", "parsing: '1CHR 1:1'");
    });
  });

  describe("Localized book Ezra (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Ezra (ee)", function() {
      expect(p.parse("Ezra 1:1").osis()).toEqual("Ezra.1.1", "parsing: 'Ezra 1:1'");
      expect(p.parse("Ezr 1:1").osis()).toEqual("Ezra.1.1", "parsing: 'Ezr 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("EZRA 1:1").osis()).toEqual("Ezra.1.1", "parsing: 'EZRA 1:1'");
      expect(p.parse("EZR 1:1").osis()).toEqual("Ezra.1.1", "parsing: 'EZR 1:1'");
    });
  });

  describe("Localized book Neh (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Neh (ee)", function() {
      expect(p.parse("Nehɛmiya 1:1").osis()).toEqual("Neh.1.1", "parsing: 'Nehɛmiya 1:1'");
      expect(p.parse("Neh 1:1").osis()).toEqual("Neh.1.1", "parsing: 'Neh 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("NEHƐMIYA 1:1").osis()).toEqual("Neh.1.1", "parsing: 'NEHƐMIYA 1:1'");
      expect(p.parse("NEH 1:1").osis()).toEqual("Neh.1.1", "parsing: 'NEH 1:1'");
    });
  });

  describe("Localized book Esth (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Esth (ee)", function() {
      expect(p.parse("Esta 1:1").osis()).toEqual("Esth.1.1", "parsing: 'Esta 1:1'");
      expect(p.parse("Esth 1:1").osis()).toEqual("Esth.1.1", "parsing: 'Esth 1:1'");
      expect(p.parse("Est 1:1").osis()).toEqual("Esth.1.1", "parsing: 'Est 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("ESTA 1:1").osis()).toEqual("Esth.1.1", "parsing: 'ESTA 1:1'");
      expect(p.parse("ESTH 1:1").osis()).toEqual("Esth.1.1", "parsing: 'ESTH 1:1'");
      expect(p.parse("EST 1:1").osis()).toEqual("Esth.1.1", "parsing: 'EST 1:1'");
    });
  });

  describe("Localized book Job (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Job (ee)", function() {
      expect(p.parse("Job 1:1").osis()).toEqual("Job.1.1", "parsing: 'Job 1:1'");
      expect(p.parse("Yob 1:1").osis()).toEqual("Job.1.1", "parsing: 'Yob 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("JOB 1:1").osis()).toEqual("Job.1.1", "parsing: 'JOB 1:1'");
      expect(p.parse("YOB 1:1").osis()).toEqual("Job.1.1", "parsing: 'YOB 1:1'");
    });
  });

  describe("Localized book Ps (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Ps (ee)", function() {
      expect(p.parse("Zabur 1:1").osis()).toEqual("Ps.1.1", "parsing: 'Zabur 1:1'");
      expect(p.parse("Zab 1:1").osis()).toEqual("Ps.1.1", "parsing: 'Zab 1:1'");
      expect(p.parse("Ps 1:1").osis()).toEqual("Ps.1.1", "parsing: 'Ps 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("ZABUR 1:1").osis()).toEqual("Ps.1.1", "parsing: 'ZABUR 1:1'");
      expect(p.parse("ZAB 1:1").osis()).toEqual("Ps.1.1", "parsing: 'ZAB 1:1'");
      expect(p.parse("PS 1:1").osis()).toEqual("Ps.1.1", "parsing: 'PS 1:1'");
    });
  });

  describe("Localized book Prov (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Prov (ee)", function() {
      expect(p.parse("Mmebu 1:1").osis()).toEqual("Prov.1.1", "parsing: 'Mmebu 1:1'");
      expect(p.parse("Prov 1:1").osis()).toEqual("Prov.1.1", "parsing: 'Prov 1:1'");
      expect(p.parse("Mme 1:1").osis()).toEqual("Prov.1.1", "parsing: 'Mme 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("MMEBU 1:1").osis()).toEqual("Prov.1.1", "parsing: 'MMEBU 1:1'");
      expect(p.parse("PROV 1:1").osis()).toEqual("Prov.1.1", "parsing: 'PROV 1:1'");
      expect(p.parse("MME 1:1").osis()).toEqual("Prov.1.1", "parsing: 'MME 1:1'");
    });
  });

  describe("Localized book Eccl (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Eccl (ee)", function() {
      expect(p.parse("Eklesiastes 1:1").osis()).toEqual("Eccl.1.1", "parsing: 'Eklesiastes 1:1'");
      expect(p.parse("Eccl 1:1").osis()).toEqual("Eccl.1.1", "parsing: 'Eccl 1:1'");
      expect(p.parse("Ekl 1:1").osis()).toEqual("Eccl.1.1", "parsing: 'Ekl 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("EKLESIASTES 1:1").osis()).toEqual("Eccl.1.1", "parsing: 'EKLESIASTES 1:1'");
      expect(p.parse("ECCL 1:1").osis()).toEqual("Eccl.1.1", "parsing: 'ECCL 1:1'");
      expect(p.parse("EKL 1:1").osis()).toEqual("Eccl.1.1", "parsing: 'EKL 1:1'");
    });
  });

  describe("Localized book Song (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Song (ee)", function() {
      expect(p.parse("Songɔ na Solomon 1:1").osis()).toEqual("Song.1.1", "parsing: 'Songɔ na Solomon 1:1'");
      expect(p.parse("Song 1:1").osis()).toEqual("Song.1.1", "parsing: 'Song 1:1'");
      expect(p.parse("Son 1:1").osis()).toEqual("Song.1.1", "parsing: 'Son 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("SONGƆ NA SOLOMON 1:1").osis()).toEqual("Song.1.1", "parsing: 'SONGƆ NA SOLOMON 1:1'");
      expect(p.parse("SONG 1:1").osis()).toEqual("Song.1.1", "parsing: 'SONG 1:1'");
      expect(p.parse("SON 1:1").osis()).toEqual("Song.1.1", "parsing: 'SON 1:1'");
    });
  });

  describe("Localized book Jer (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Jer (ee)", function() {
      expect(p.parse("Yeremia 1:1").osis()).toEqual("Jer.1.1", "parsing: 'Yeremia 1:1'");
      expect(p.parse("Jer 1:1").osis()).toEqual("Jer.1.1", "parsing: 'Jer 1:1'");
      expect(p.parse("Yer 1:1").osis()).toEqual("Jer.1.1", "parsing: 'Yer 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("YEREMIA 1:1").osis()).toEqual("Jer.1.1", "parsing: 'YEREMIA 1:1'");
      expect(p.parse("JER 1:1").osis()).toEqual("Jer.1.1", "parsing: 'JER 1:1'");
      expect(p.parse("YER 1:1").osis()).toEqual("Jer.1.1", "parsing: 'YER 1:1'");
    });
  });

  describe("Localized book Ezek (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Ezek (ee)", function() {
      expect(p.parse("Ezekiel 1:1").osis()).toEqual("Ezek.1.1", "parsing: 'Ezekiel 1:1'");
      expect(p.parse("Ezek 1:1").osis()).toEqual("Ezek.1.1", "parsing: 'Ezek 1:1'");
      expect(p.parse("Eze 1:1").osis()).toEqual("Ezek.1.1", "parsing: 'Eze 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("EZEKIEL 1:1").osis()).toEqual("Ezek.1.1", "parsing: 'EZEKIEL 1:1'");
      expect(p.parse("EZEK 1:1").osis()).toEqual("Ezek.1.1", "parsing: 'EZEK 1:1'");
      expect(p.parse("EZE 1:1").osis()).toEqual("Ezek.1.1", "parsing: 'EZE 1:1'");
    });
  });

  describe("Localized book Dan (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Dan (ee)", function() {
      expect(p.parse("Daniel 1:1").osis()).toEqual("Dan.1.1", "parsing: 'Daniel 1:1'");
      expect(p.parse("Dan 1:1").osis()).toEqual("Dan.1.1", "parsing: 'Dan 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("DANIEL 1:1").osis()).toEqual("Dan.1.1", "parsing: 'DANIEL 1:1'");
      expect(p.parse("DAN 1:1").osis()).toEqual("Dan.1.1", "parsing: 'DAN 1:1'");
    });
  });

  describe("Localized book Hos (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Hos (ee)", function() {
      expect(p.parse("Hosea 1:1").osis()).toEqual("Hos.1.1", "parsing: 'Hosea 1:1'");
      expect(p.parse("Hos 1:1").osis()).toEqual("Hos.1.1", "parsing: 'Hos 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("HOSEA 1:1").osis()).toEqual("Hos.1.1", "parsing: 'HOSEA 1:1'");
      expect(p.parse("HOS 1:1").osis()).toEqual("Hos.1.1", "parsing: 'HOS 1:1'");
    });
  });

  describe("Localized book Joel (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Joel (ee)", function() {
      expect(p.parse("Yowel 1:1").osis()).toEqual("Joel.1.1", "parsing: 'Yowel 1:1'");
      expect(p.parse("Joel 1:1").osis()).toEqual("Joel.1.1", "parsing: 'Joel 1:1'");
      expect(p.parse("Yow 1:1").osis()).toEqual("Joel.1.1", "parsing: 'Yow 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("YOWEL 1:1").osis()).toEqual("Joel.1.1", "parsing: 'YOWEL 1:1'");
      expect(p.parse("JOEL 1:1").osis()).toEqual("Joel.1.1", "parsing: 'JOEL 1:1'");
      expect(p.parse("YOW 1:1").osis()).toEqual("Joel.1.1", "parsing: 'YOW 1:1'");
    });
  });

  describe("Localized book Amos (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Amos (ee)", function() {
      expect(p.parse("Amos 1:1").osis()).toEqual("Amos.1.1", "parsing: 'Amos 1:1'");
      expect(p.parse("Amo 1:1").osis()).toEqual("Amos.1.1", "parsing: 'Amo 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("AMOS 1:1").osis()).toEqual("Amos.1.1", "parsing: 'AMOS 1:1'");
      expect(p.parse("AMO 1:1").osis()).toEqual("Amos.1.1", "parsing: 'AMO 1:1'");
    });
  });

  describe("Localized book Obad (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Obad (ee)", function() {
      expect(p.parse("Obadiah 1:1").osis()).toEqual("Obad.1.1", "parsing: 'Obadiah 1:1'");
      expect(p.parse("Obad 1:1").osis()).toEqual("Obad.1.1", "parsing: 'Obad 1:1'");
      expect(p.parse("Oba 1:1").osis()).toEqual("Obad.1.1", "parsing: 'Oba 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("OBADIAH 1:1").osis()).toEqual("Obad.1.1", "parsing: 'OBADIAH 1:1'");
      expect(p.parse("OBAD 1:1").osis()).toEqual("Obad.1.1", "parsing: 'OBAD 1:1'");
      expect(p.parse("OBA 1:1").osis()).toEqual("Obad.1.1", "parsing: 'OBA 1:1'");
    });
  });

  describe("Localized book Jonah (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Jonah (ee)", function() {
      expect(p.parse("Jonah 1:1").osis()).toEqual("Jonah.1.1", "parsing: 'Jonah 1:1'");
      expect(p.parse("Yona 1:1").osis()).toEqual("Jonah.1.1", "parsing: 'Yona 1:1'");
      expect(p.parse("Yon 1:1").osis()).toEqual("Jonah.1.1", "parsing: 'Yon 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("JONAH 1:1").osis()).toEqual("Jonah.1.1", "parsing: 'JONAH 1:1'");
      expect(p.parse("YONA 1:1").osis()).toEqual("Jonah.1.1", "parsing: 'YONA 1:1'");
      expect(p.parse("YON 1:1").osis()).toEqual("Jonah.1.1", "parsing: 'YON 1:1'");
    });
  });

  describe("Localized book Mic (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Mic (ee)", function() {
      expect(p.parse("Mika 1:1").osis()).toEqual("Mic.1.1", "parsing: 'Mika 1:1'");
      expect(p.parse("Mic 1:1").osis()).toEqual("Mic.1.1", "parsing: 'Mic 1:1'");
      expect(p.parse("Mik 1:1").osis()).toEqual("Mic.1.1", "parsing: 'Mik 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("MIKA 1:1").osis()).toEqual("Mic.1.1", "parsing: 'MIKA 1:1'");
      expect(p.parse("MIC 1:1").osis()).toEqual("Mic.1.1", "parsing: 'MIC 1:1'");
      expect(p.parse("MIK 1:1").osis()).toEqual("Mic.1.1", "parsing: 'MIK 1:1'");
    });
  });

  describe("Localized book Nah (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Nah (ee)", function() {
      expect(p.parse("Nahum 1:1").osis()).toEqual("Nah.1.1", "parsing: 'Nahum 1:1'");
      expect(p.parse("Nah 1:1").osis()).toEqual("Nah.1.1", "parsing: 'Nah 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("NAHUM 1:1").osis()).toEqual("Nah.1.1", "parsing: 'NAHUM 1:1'");
      expect(p.parse("NAH 1:1").osis()).toEqual("Nah.1.1", "parsing: 'NAH 1:1'");
    });
  });

  describe("Localized book Hab (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Hab (ee)", function() {
      expect(p.parse("Habakuk 1:1").osis()).toEqual("Hab.1.1", "parsing: 'Habakuk 1:1'");
      expect(p.parse("Hab 1:1").osis()).toEqual("Hab.1.1", "parsing: 'Hab 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("HABAKUK 1:1").osis()).toEqual("Hab.1.1", "parsing: 'HABAKUK 1:1'");
      expect(p.parse("HAB 1:1").osis()).toEqual("Hab.1.1", "parsing: 'HAB 1:1'");
    });
  });

  describe("Localized book Zeph (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Zeph (ee)", function() {
      expect(p.parse("Sefania 1:1").osis()).toEqual("Zeph.1.1", "parsing: 'Sefania 1:1'");
      expect(p.parse("Zeph 1:1").osis()).toEqual("Zeph.1.1", "parsing: 'Zeph 1:1'");
      expect(p.parse("Sef 1:1").osis()).toEqual("Zeph.1.1", "parsing: 'Sef 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("SEFANIA 1:1").osis()).toEqual("Zeph.1.1", "parsing: 'SEFANIA 1:1'");
      expect(p.parse("ZEPH 1:1").osis()).toEqual("Zeph.1.1", "parsing: 'ZEPH 1:1'");
      expect(p.parse("SEF 1:1").osis()).toEqual("Zeph.1.1", "parsing: 'SEF 1:1'");
    });
  });

  describe("Localized book Hag (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Hag (ee)", function() {
      expect(p.parse("Hagayi 1:1").osis()).toEqual("Hag.1.1", "parsing: 'Hagayi 1:1'");
      expect(p.parse("Hag 1:1").osis()).toEqual("Hag.1.1", "parsing: 'Hag 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("HAGAYI 1:1").osis()).toEqual("Hag.1.1", "parsing: 'HAGAYI 1:1'");
      expect(p.parse("HAG 1:1").osis()).toEqual("Hag.1.1", "parsing: 'HAG 1:1'");
    });
  });

  describe("Localized book Zech (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Zech (ee)", function() {
      expect(p.parse("Sekaria 1:1").osis()).toEqual("Zech.1.1", "parsing: 'Sekaria 1:1'");
      expect(p.parse("Zech 1:1").osis()).toEqual("Zech.1.1", "parsing: 'Zech 1:1'");
      expect(p.parse("Sek 1:1").osis()).toEqual("Zech.1.1", "parsing: 'Sek 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("SEKARIA 1:1").osis()).toEqual("Zech.1.1", "parsing: 'SEKARIA 1:1'");
      expect(p.parse("ZECH 1:1").osis()).toEqual("Zech.1.1", "parsing: 'ZECH 1:1'");
      expect(p.parse("SEK 1:1").osis()).toEqual("Zech.1.1", "parsing: 'SEK 1:1'");
    });
  });

  describe("Localized book Mal (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Mal (ee)", function() {
      expect(p.parse("Malaki 1:1").osis()).toEqual("Mal.1.1", "parsing: 'Malaki 1:1'");
      expect(p.parse("Mal 1:1").osis()).toEqual("Mal.1.1", "parsing: 'Mal 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("MALAKI 1:1").osis()).toEqual("Mal.1.1", "parsing: 'MALAKI 1:1'");
      expect(p.parse("MAL 1:1").osis()).toEqual("Mal.1.1", "parsing: 'MAL 1:1'");
    });
  });

  describe("Localized book Matt (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Matt (ee)", function() {
      expect(p.parse("Matiu 1:1").osis()).toEqual("Matt.1.1", "parsing: 'Matiu 1:1'");
      expect(p.parse("Matt 1:1").osis()).toEqual("Matt.1.1", "parsing: 'Matt 1:1'");
      expect(p.parse("Mat 1:1").osis()).toEqual("Matt.1.1", "parsing: 'Mat 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("MATIU 1:1").osis()).toEqual("Matt.1.1", "parsing: 'MATIU 1:1'");
      expect(p.parse("MATT 1:1").osis()).toEqual("Matt.1.1", "parsing: 'MATT 1:1'");
      expect(p.parse("MAT 1:1").osis()).toEqual("Matt.1.1", "parsing: 'MAT 1:1'");
    });
  });

  describe("Localized book Mark (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Mark (ee)", function() {
      expect(p.parse("Make 1:1").osis()).toEqual("Mark.1.1", "parsing: 'Make 1:1'");
      expect(p.parse("Mark 1:1").osis()).toEqual("Mark.1.1", "parsing: 'Mark 1:1'");
      expect(p.parse("Mak 1:1").osis()).toEqual("Mark.1.1", "parsing: 'Mak 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("MAKE 1:1").osis()).toEqual("Mark.1.1", "parsing: 'MAKE 1:1'");
      expect(p.parse("MARK 1:1").osis()).toEqual("Mark.1.1", "parsing: 'MARK 1:1'");
      expect(p.parse("MAK 1:1").osis()).toEqual("Mark.1.1", "parsing: 'MAK 1:1'");
    });
  });

  describe("Localized book Luke (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Luke (ee)", function() {
      expect(p.parse("Luka 1:1").osis()).toEqual("Luke.1.1", "parsing: 'Luka 1:1'");
      expect(p.parse("Luke 1:1").osis()).toEqual("Luke.1.1", "parsing: 'Luke 1:1'");
      expect(p.parse("Luk 1:1").osis()).toEqual("Luke.1.1", "parsing: 'Luk 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("LUKA 1:1").osis()).toEqual("Luke.1.1", "parsing: 'LUKA 1:1'");
      expect(p.parse("LUKE 1:1").osis()).toEqual("Luke.1.1", "parsing: 'LUKE 1:1'");
      expect(p.parse("LUK 1:1").osis()).toEqual("Luke.1.1", "parsing: 'LUK 1:1'");
    });
  });

  describe("Localized book 1John (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 1John (ee)", function() {
      expect(p.parse("1. Yohane 1:1").osis()).toEqual("1John.1.1", "parsing: '1. Yohane 1:1'");
      expect(p.parse("le Yohane 1:1").osis()).toEqual("1John.1.1", "parsing: 'le Yohane 1:1'");
      expect(p.parse("1 Yohane 1:1").osis()).toEqual("1John.1.1", "parsing: '1 Yohane 1:1'");
      expect(p.parse("1. Yo 1:1").osis()).toEqual("1John.1.1", "parsing: '1. Yo 1:1'");
      expect(p.parse("1John 1:1").osis()).toEqual("1John.1.1", "parsing: '1John 1:1'");
      expect(p.parse("le Yo 1:1").osis()).toEqual("1John.1.1", "parsing: 'le Yo 1:1'");
      expect(p.parse("1 Yo 1:1").osis()).toEqual("1John.1.1", "parsing: '1 Yo 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("1. YOHANE 1:1").osis()).toEqual("1John.1.1", "parsing: '1. YOHANE 1:1'");
      expect(p.parse("LE YOHANE 1:1").osis()).toEqual("1John.1.1", "parsing: 'LE YOHANE 1:1'");
      expect(p.parse("1 YOHANE 1:1").osis()).toEqual("1John.1.1", "parsing: '1 YOHANE 1:1'");
      expect(p.parse("1. YO 1:1").osis()).toEqual("1John.1.1", "parsing: '1. YO 1:1'");
      expect(p.parse("1JOHN 1:1").osis()).toEqual("1John.1.1", "parsing: '1JOHN 1:1'");
      expect(p.parse("LE YO 1:1").osis()).toEqual("1John.1.1", "parsing: 'LE YO 1:1'");
      expect(p.parse("1 YO 1:1").osis()).toEqual("1John.1.1", "parsing: '1 YO 1:1'");
    });
  });

  describe("Localized book 2John (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 2John (ee)", function() {
      expect(p.parse("2. Yohane 1:1").osis()).toEqual("2John.1.1", "parsing: '2. Yohane 1:1'");
      expect(p.parse("2 Yohane 1:1").osis()).toEqual("2John.1.1", "parsing: '2 Yohane 1:1'");
      expect(p.parse("2. Yo 1:1").osis()).toEqual("2John.1.1", "parsing: '2. Yo 1:1'");
      expect(p.parse("2John 1:1").osis()).toEqual("2John.1.1", "parsing: '2John 1:1'");
      expect(p.parse("2 Yo 1:1").osis()).toEqual("2John.1.1", "parsing: '2 Yo 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("2. YOHANE 1:1").osis()).toEqual("2John.1.1", "parsing: '2. YOHANE 1:1'");
      expect(p.parse("2 YOHANE 1:1").osis()).toEqual("2John.1.1", "parsing: '2 YOHANE 1:1'");
      expect(p.parse("2. YO 1:1").osis()).toEqual("2John.1.1", "parsing: '2. YO 1:1'");
      expect(p.parse("2JOHN 1:1").osis()).toEqual("2John.1.1", "parsing: '2JOHN 1:1'");
      expect(p.parse("2 YO 1:1").osis()).toEqual("2John.1.1", "parsing: '2 YO 1:1'");
    });
  });

  describe("Localized book 3John (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 3John (ee)", function() {
      expect(p.parse("3. Yohane 1:1").osis()).toEqual("3John.1.1", "parsing: '3. Yohane 1:1'");
      expect(p.parse("3 Yohane 1:1").osis()).toEqual("3John.1.1", "parsing: '3 Yohane 1:1'");
      expect(p.parse("3. Yo 1:1").osis()).toEqual("3John.1.1", "parsing: '3. Yo 1:1'");
      expect(p.parse("3John 1:1").osis()).toEqual("3John.1.1", "parsing: '3John 1:1'");
      expect(p.parse("3 Yo 1:1").osis()).toEqual("3John.1.1", "parsing: '3 Yo 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("3. YOHANE 1:1").osis()).toEqual("3John.1.1", "parsing: '3. YOHANE 1:1'");
      expect(p.parse("3 YOHANE 1:1").osis()).toEqual("3John.1.1", "parsing: '3 YOHANE 1:1'");
      expect(p.parse("3. YO 1:1").osis()).toEqual("3John.1.1", "parsing: '3. YO 1:1'");
      expect(p.parse("3JOHN 1:1").osis()).toEqual("3John.1.1", "parsing: '3JOHN 1:1'");
      expect(p.parse("3 YO 1:1").osis()).toEqual("3John.1.1", "parsing: '3 YO 1:1'");
    });
  });

  describe("Localized book John (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: John (ee)", function() {
      expect(p.parse("Yohane 1:1").osis()).toEqual("John.1.1", "parsing: 'Yohane 1:1'");
      expect(p.parse("John 1:1").osis()).toEqual("John.1.1", "parsing: 'John 1:1'");
      expect(p.parse("Yoh 1:1").osis()).toEqual("John.1.1", "parsing: 'Yoh 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("YOHANE 1:1").osis()).toEqual("John.1.1", "parsing: 'YOHANE 1:1'");
      expect(p.parse("JOHN 1:1").osis()).toEqual("John.1.1", "parsing: 'JOHN 1:1'");
      expect(p.parse("YOH 1:1").osis()).toEqual("John.1.1", "parsing: 'YOH 1:1'");
    });
  });

  describe("Localized book Acts (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Acts (ee)", function() {
      expect(p.parse("Asikɔto 1:1").osis()).toEqual("Acts.1.1", "parsing: 'Asikɔto 1:1'");
      expect(p.parse("Acts 1:1").osis()).toEqual("Acts.1.1", "parsing: 'Acts 1:1'");
      expect(p.parse("Asi 1:1").osis()).toEqual("Acts.1.1", "parsing: 'Asi 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("ASIKƆTO 1:1").osis()).toEqual("Acts.1.1", "parsing: 'ASIKƆTO 1:1'");
      expect(p.parse("ACTS 1:1").osis()).toEqual("Acts.1.1", "parsing: 'ACTS 1:1'");
      expect(p.parse("ASI 1:1").osis()).toEqual("Acts.1.1", "parsing: 'ASI 1:1'");
    });
  });

  describe("Localized book Rom (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Rom (ee)", function() {
      expect(p.parse("Roma 1:1").osis()).toEqual("Rom.1.1", "parsing: 'Roma 1:1'");
      expect(p.parse("Rom 1:1").osis()).toEqual("Rom.1.1", "parsing: 'Rom 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("ROMA 1:1").osis()).toEqual("Rom.1.1", "parsing: 'ROMA 1:1'");
      expect(p.parse("ROM 1:1").osis()).toEqual("Rom.1.1", "parsing: 'ROM 1:1'");
    });
  });

  describe("Localized book 2Cor (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 2Cor (ee)", function() {
      expect(p.parse("2. Kɔrintintɔwo 1:1").osis()).toEqual("2Cor.1.1", "parsing: '2. Kɔrintintɔwo 1:1'");
      expect(p.parse("2 Kɔrintintɔwo 1:1").osis()).toEqual("2Cor.1.1", "parsing: '2 Kɔrintintɔwo 1:1'");
      expect(p.parse("2. Ko 1:1").osis()).toEqual("2Cor.1.1", "parsing: '2. Ko 1:1'");
      expect(p.parse("2 Ko 1:1").osis()).toEqual("2Cor.1.1", "parsing: '2 Ko 1:1'");
      expect(p.parse("2Cor 1:1").osis()).toEqual("2Cor.1.1", "parsing: '2Cor 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("2. KƆRINTINTƆWO 1:1").osis()).toEqual("2Cor.1.1", "parsing: '2. KƆRINTINTƆWO 1:1'");
      expect(p.parse("2 KƆRINTINTƆWO 1:1").osis()).toEqual("2Cor.1.1", "parsing: '2 KƆRINTINTƆWO 1:1'");
      expect(p.parse("2. KO 1:1").osis()).toEqual("2Cor.1.1", "parsing: '2. KO 1:1'");
      expect(p.parse("2 KO 1:1").osis()).toEqual("2Cor.1.1", "parsing: '2 KO 1:1'");
      expect(p.parse("2COR 1:1").osis()).toEqual("2Cor.1.1", "parsing: '2COR 1:1'");
    });
  });

  describe("Localized book 1Cor (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 1Cor (ee)", function() {
      expect(p.parse("1. Kɔrintintɔwo 1:1").osis()).toEqual("1Cor.1.1", "parsing: '1. Kɔrintintɔwo 1:1'");
      expect(p.parse("le Kɔrintintɔwo 1:1").osis()).toEqual("1Cor.1.1", "parsing: 'le Kɔrintintɔwo 1:1'");
      expect(p.parse("1 Kɔrintintɔwo 1:1").osis()).toEqual("1Cor.1.1", "parsing: '1 Kɔrintintɔwo 1:1'");
      expect(p.parse("1. Ko 1:1").osis()).toEqual("1Cor.1.1", "parsing: '1. Ko 1:1'");
      expect(p.parse("le Ko 1:1").osis()).toEqual("1Cor.1.1", "parsing: 'le Ko 1:1'");
      expect(p.parse("1 Ko 1:1").osis()).toEqual("1Cor.1.1", "parsing: '1 Ko 1:1'");
      expect(p.parse("1Cor 1:1").osis()).toEqual("1Cor.1.1", "parsing: '1Cor 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("1. KƆRINTINTƆWO 1:1").osis()).toEqual("1Cor.1.1", "parsing: '1. KƆRINTINTƆWO 1:1'");
      expect(p.parse("LE KƆRINTINTƆWO 1:1").osis()).toEqual("1Cor.1.1", "parsing: 'LE KƆRINTINTƆWO 1:1'");
      expect(p.parse("1 KƆRINTINTƆWO 1:1").osis()).toEqual("1Cor.1.1", "parsing: '1 KƆRINTINTƆWO 1:1'");
      expect(p.parse("1. KO 1:1").osis()).toEqual("1Cor.1.1", "parsing: '1. KO 1:1'");
      expect(p.parse("LE KO 1:1").osis()).toEqual("1Cor.1.1", "parsing: 'LE KO 1:1'");
      expect(p.parse("1 KO 1:1").osis()).toEqual("1Cor.1.1", "parsing: '1 KO 1:1'");
      expect(p.parse("1COR 1:1").osis()).toEqual("1Cor.1.1", "parsing: '1COR 1:1'");
    });
  });

  describe("Localized book Gal (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Gal (ee)", function() {
      expect(p.parse("Galatiatɔwo 1:1").osis()).toEqual("Gal.1.1", "parsing: 'Galatiatɔwo 1:1'");
      expect(p.parse("Gal 1:1").osis()).toEqual("Gal.1.1", "parsing: 'Gal 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("GALATIATƆWO 1:1").osis()).toEqual("Gal.1.1", "parsing: 'GALATIATƆWO 1:1'");
      expect(p.parse("GAL 1:1").osis()).toEqual("Gal.1.1", "parsing: 'GAL 1:1'");
    });
  });

  describe("Localized book Eph (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Eph (ee)", function() {
      expect(p.parse("Efesotɔwo 1:1").osis()).toEqual("Eph.1.1", "parsing: 'Efesotɔwo 1:1'");
      expect(p.parse("Efe 1:1").osis()).toEqual("Eph.1.1", "parsing: 'Efe 1:1'");
      expect(p.parse("Eph 1:1").osis()).toEqual("Eph.1.1", "parsing: 'Eph 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("EFESOTƆWO 1:1").osis()).toEqual("Eph.1.1", "parsing: 'EFESOTƆWO 1:1'");
      expect(p.parse("EFE 1:1").osis()).toEqual("Eph.1.1", "parsing: 'EFE 1:1'");
      expect(p.parse("EPH 1:1").osis()).toEqual("Eph.1.1", "parsing: 'EPH 1:1'");
    });
  });

  describe("Localized book Phil (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Phil (ee)", function() {
      expect(p.parse("Filipitɔwo 1:1").osis()).toEqual("Phil.1.1", "parsing: 'Filipitɔwo 1:1'");
      expect(p.parse("Phil 1:1").osis()).toEqual("Phil.1.1", "parsing: 'Phil 1:1'");
      expect(p.parse("Fil 1:1").osis()).toEqual("Phil.1.1", "parsing: 'Fil 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("FILIPITƆWO 1:1").osis()).toEqual("Phil.1.1", "parsing: 'FILIPITƆWO 1:1'");
      expect(p.parse("PHIL 1:1").osis()).toEqual("Phil.1.1", "parsing: 'PHIL 1:1'");
      expect(p.parse("FIL 1:1").osis()).toEqual("Phil.1.1", "parsing: 'FIL 1:1'");
    });
  });

  describe("Localized book Col (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Col (ee)", function() {
      expect(p.parse("Kolositɔwo 1:1").osis()).toEqual("Col.1.1", "parsing: 'Kolositɔwo 1:1'");
      expect(p.parse("Col 1:1").osis()).toEqual("Col.1.1", "parsing: 'Col 1:1'");
      expect(p.parse("Kol 1:1").osis()).toEqual("Col.1.1", "parsing: 'Kol 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("KOLOSITƆWO 1:1").osis()).toEqual("Col.1.1", "parsing: 'KOLOSITƆWO 1:1'");
      expect(p.parse("COL 1:1").osis()).toEqual("Col.1.1", "parsing: 'COL 1:1'");
      expect(p.parse("KOL 1:1").osis()).toEqual("Col.1.1", "parsing: 'KOL 1:1'");
    });
  });

  describe("Localized book 2Thess (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 2Thess (ee)", function() {
      expect(p.parse("2. Tesalonikatɔwo 1:1").osis()).toEqual("2Thess.1.1", "parsing: '2. Tesalonikatɔwo 1:1'");
      expect(p.parse("2 Tesalonikatɔwo 1:1").osis()).toEqual("2Thess.1.1", "parsing: '2 Tesalonikatɔwo 1:1'");
      expect(p.parse("2Thess 1:1").osis()).toEqual("2Thess.1.1", "parsing: '2Thess 1:1'");
      expect(p.parse("2. Te 1:1").osis()).toEqual("2Thess.1.1", "parsing: '2. Te 1:1'");
      expect(p.parse("2 Te 1:1").osis()).toEqual("2Thess.1.1", "parsing: '2 Te 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("2. TESALONIKATƆWO 1:1").osis()).toEqual("2Thess.1.1", "parsing: '2. TESALONIKATƆWO 1:1'");
      expect(p.parse("2 TESALONIKATƆWO 1:1").osis()).toEqual("2Thess.1.1", "parsing: '2 TESALONIKATƆWO 1:1'");
      expect(p.parse("2THESS 1:1").osis()).toEqual("2Thess.1.1", "parsing: '2THESS 1:1'");
      expect(p.parse("2. TE 1:1").osis()).toEqual("2Thess.1.1", "parsing: '2. TE 1:1'");
      expect(p.parse("2 TE 1:1").osis()).toEqual("2Thess.1.1", "parsing: '2 TE 1:1'");
    });
  });

  describe("Localized book 1Thess (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 1Thess (ee)", function() {
      expect(p.parse("1. Tesalonikatɔwo 1:1").osis()).toEqual("1Thess.1.1", "parsing: '1. Tesalonikatɔwo 1:1'");
      expect(p.parse("le Tesalonikatɔwo 1:1").osis()).toEqual("1Thess.1.1", "parsing: 'le Tesalonikatɔwo 1:1'");
      expect(p.parse("1 Tesalonikatɔwo 1:1").osis()).toEqual("1Thess.1.1", "parsing: '1 Tesalonikatɔwo 1:1'");
      expect(p.parse("1Thess 1:1").osis()).toEqual("1Thess.1.1", "parsing: '1Thess 1:1'");
      expect(p.parse("1. Te 1:1").osis()).toEqual("1Thess.1.1", "parsing: '1. Te 1:1'");
      expect(p.parse("le Te 1:1").osis()).toEqual("1Thess.1.1", "parsing: 'le Te 1:1'");
      expect(p.parse("1 Te 1:1").osis()).toEqual("1Thess.1.1", "parsing: '1 Te 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("1. TESALONIKATƆWO 1:1").osis()).toEqual("1Thess.1.1", "parsing: '1. TESALONIKATƆWO 1:1'");
      expect(p.parse("LE TESALONIKATƆWO 1:1").osis()).toEqual("1Thess.1.1", "parsing: 'LE TESALONIKATƆWO 1:1'");
      expect(p.parse("1 TESALONIKATƆWO 1:1").osis()).toEqual("1Thess.1.1", "parsing: '1 TESALONIKATƆWO 1:1'");
      expect(p.parse("1THESS 1:1").osis()).toEqual("1Thess.1.1", "parsing: '1THESS 1:1'");
      expect(p.parse("1. TE 1:1").osis()).toEqual("1Thess.1.1", "parsing: '1. TE 1:1'");
      expect(p.parse("LE TE 1:1").osis()).toEqual("1Thess.1.1", "parsing: 'LE TE 1:1'");
      expect(p.parse("1 TE 1:1").osis()).toEqual("1Thess.1.1", "parsing: '1 TE 1:1'");
    });
  });

  describe("Localized book 2Tim (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 2Tim (ee)", function() {
      expect(p.parse("2. Timotitɔ 1:1").osis()).toEqual("2Tim.1.1", "parsing: '2. Timotitɔ 1:1'");
      expect(p.parse("2 Timotitɔ 1:1").osis()).toEqual("2Tim.1.1", "parsing: '2 Timotitɔ 1:1'");
      expect(p.parse("2. Ti 1:1").osis()).toEqual("2Tim.1.1", "parsing: '2. Ti 1:1'");
      expect(p.parse("2 Ti 1:1").osis()).toEqual("2Tim.1.1", "parsing: '2 Ti 1:1'");
      expect(p.parse("2Tim 1:1").osis()).toEqual("2Tim.1.1", "parsing: '2Tim 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("2. TIMOTITƆ 1:1").osis()).toEqual("2Tim.1.1", "parsing: '2. TIMOTITƆ 1:1'");
      expect(p.parse("2 TIMOTITƆ 1:1").osis()).toEqual("2Tim.1.1", "parsing: '2 TIMOTITƆ 1:1'");
      expect(p.parse("2. TI 1:1").osis()).toEqual("2Tim.1.1", "parsing: '2. TI 1:1'");
      expect(p.parse("2 TI 1:1").osis()).toEqual("2Tim.1.1", "parsing: '2 TI 1:1'");
      expect(p.parse("2TIM 1:1").osis()).toEqual("2Tim.1.1", "parsing: '2TIM 1:1'");
    });
  });

  describe("Localized book 1Tim (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 1Tim (ee)", function() {
      expect(p.parse("1. Timotitɔ 1:1").osis()).toEqual("1Tim.1.1", "parsing: '1. Timotitɔ 1:1'");
      expect(p.parse("le Timotitɔ 1:1").osis()).toEqual("1Tim.1.1", "parsing: 'le Timotitɔ 1:1'");
      expect(p.parse("1 Timotitɔ 1:1").osis()).toEqual("1Tim.1.1", "parsing: '1 Timotitɔ 1:1'");
      expect(p.parse("1. Ti 1:1").osis()).toEqual("1Tim.1.1", "parsing: '1. Ti 1:1'");
      expect(p.parse("le Ti 1:1").osis()).toEqual("1Tim.1.1", "parsing: 'le Ti 1:1'");
      expect(p.parse("1 Ti 1:1").osis()).toEqual("1Tim.1.1", "parsing: '1 Ti 1:1'");
      expect(p.parse("1Tim 1:1").osis()).toEqual("1Tim.1.1", "parsing: '1Tim 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("1. TIMOTITƆ 1:1").osis()).toEqual("1Tim.1.1", "parsing: '1. TIMOTITƆ 1:1'");
      expect(p.parse("LE TIMOTITƆ 1:1").osis()).toEqual("1Tim.1.1", "parsing: 'LE TIMOTITƆ 1:1'");
      expect(p.parse("1 TIMOTITƆ 1:1").osis()).toEqual("1Tim.1.1", "parsing: '1 TIMOTITƆ 1:1'");
      expect(p.parse("1. TI 1:1").osis()).toEqual("1Tim.1.1", "parsing: '1. TI 1:1'");
      expect(p.parse("LE TI 1:1").osis()).toEqual("1Tim.1.1", "parsing: 'LE TI 1:1'");
      expect(p.parse("1 TI 1:1").osis()).toEqual("1Tim.1.1", "parsing: '1 TI 1:1'");
      expect(p.parse("1TIM 1:1").osis()).toEqual("1Tim.1.1", "parsing: '1TIM 1:1'");
    });
  });

  describe("Localized book Titus (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Titus (ee)", function() {
      expect(p.parse("Titus 1:1").osis()).toEqual("Titus.1.1", "parsing: 'Titus 1:1'");
      expect(p.parse("Titɔ 1:1").osis()).toEqual("Titus.1.1", "parsing: 'Titɔ 1:1'");
      expect(p.parse("Tit 1:1").osis()).toEqual("Titus.1.1", "parsing: 'Tit 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("TITUS 1:1").osis()).toEqual("Titus.1.1", "parsing: 'TITUS 1:1'");
      expect(p.parse("TITƆ 1:1").osis()).toEqual("Titus.1.1", "parsing: 'TITƆ 1:1'");
      expect(p.parse("TIT 1:1").osis()).toEqual("Titus.1.1", "parsing: 'TIT 1:1'");
    });
  });

  describe("Localized book Phlm (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Phlm (ee)", function() {
      expect(p.parse("Filemon 1:1").osis()).toEqual("Phlm.1.1", "parsing: 'Filemon 1:1'");
      expect(p.parse("Phlm 1:1").osis()).toEqual("Phlm.1.1", "parsing: 'Phlm 1:1'");
      expect(p.parse("Fil 1:1").osis()).toEqual("Phlm.1.1", "parsing: 'Fil 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("FILEMON 1:1").osis()).toEqual("Phlm.1.1", "parsing: 'FILEMON 1:1'");
      expect(p.parse("PHLM 1:1").osis()).toEqual("Phlm.1.1", "parsing: 'PHLM 1:1'");
      expect(p.parse("FIL 1:1").osis()).toEqual("Phlm.1.1", "parsing: 'FIL 1:1'");
    });
  });

  describe("Localized book Heb (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Heb (ee)", function() {
      expect(p.parse("Hevriotɔwo 1:1").osis()).toEqual("Heb.1.1", "parsing: 'Hevriotɔwo 1:1'");
      expect(p.parse("Heb 1:1").osis()).toEqual("Heb.1.1", "parsing: 'Heb 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("HEVRIOTƆWO 1:1").osis()).toEqual("Heb.1.1", "parsing: 'HEVRIOTƆWO 1:1'");
      expect(p.parse("HEB 1:1").osis()).toEqual("Heb.1.1", "parsing: 'HEB 1:1'");
    });
  });

  describe("Localized book Jas (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Jas (ee)", function() {
      expect(p.parse("Yakɔbu 1:1").osis()).toEqual("Jas.1.1", "parsing: 'Yakɔbu 1:1'");
      expect(p.parse("Jas 1:1").osis()).toEqual("Jas.1.1", "parsing: 'Jas 1:1'");
      expect(p.parse("Yak 1:1").osis()).toEqual("Jas.1.1", "parsing: 'Yak 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("YAKƆBU 1:1").osis()).toEqual("Jas.1.1", "parsing: 'YAKƆBU 1:1'");
      expect(p.parse("JAS 1:1").osis()).toEqual("Jas.1.1", "parsing: 'JAS 1:1'");
      expect(p.parse("YAK 1:1").osis()).toEqual("Jas.1.1", "parsing: 'YAK 1:1'");
    });
  });

  describe("Localized book 2Pet (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 2Pet (ee)", function() {
      expect(p.parse("2. Petertɔ 1:1").osis()).toEqual("2Pet.1.1", "parsing: '2. Petertɔ 1:1'");
      expect(p.parse("2 Petertɔ 1:1").osis()).toEqual("2Pet.1.1", "parsing: '2 Petertɔ 1:1'");
      expect(p.parse("2. Pe 1:1").osis()).toEqual("2Pet.1.1", "parsing: '2. Pe 1:1'");
      expect(p.parse("2 Pe 1:1").osis()).toEqual("2Pet.1.1", "parsing: '2 Pe 1:1'");
      expect(p.parse("2Pet 1:1").osis()).toEqual("2Pet.1.1", "parsing: '2Pet 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("2. PETERTƆ 1:1").osis()).toEqual("2Pet.1.1", "parsing: '2. PETERTƆ 1:1'");
      expect(p.parse("2 PETERTƆ 1:1").osis()).toEqual("2Pet.1.1", "parsing: '2 PETERTƆ 1:1'");
      expect(p.parse("2. PE 1:1").osis()).toEqual("2Pet.1.1", "parsing: '2. PE 1:1'");
      expect(p.parse("2 PE 1:1").osis()).toEqual("2Pet.1.1", "parsing: '2 PE 1:1'");
      expect(p.parse("2PET 1:1").osis()).toEqual("2Pet.1.1", "parsing: '2PET 1:1'");
    });
  });

  describe("Localized book 1Pet (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: 1Pet (ee)", function() {
      expect(p.parse("1. Petertɔ 1:1").osis()).toEqual("1Pet.1.1", "parsing: '1. Petertɔ 1:1'");
      expect(p.parse("le Petertɔ 1:1").osis()).toEqual("1Pet.1.1", "parsing: 'le Petertɔ 1:1'");
      expect(p.parse("1 Petertɔ 1:1").osis()).toEqual("1Pet.1.1", "parsing: '1 Petertɔ 1:1'");
      expect(p.parse("1. Pe 1:1").osis()).toEqual("1Pet.1.1", "parsing: '1. Pe 1:1'");
      expect(p.parse("le Pe 1:1").osis()).toEqual("1Pet.1.1", "parsing: 'le Pe 1:1'");
      expect(p.parse("1 Pe 1:1").osis()).toEqual("1Pet.1.1", "parsing: '1 Pe 1:1'");
      expect(p.parse("1Pet 1:1").osis()).toEqual("1Pet.1.1", "parsing: '1Pet 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("1. PETERTƆ 1:1").osis()).toEqual("1Pet.1.1", "parsing: '1. PETERTƆ 1:1'");
      expect(p.parse("LE PETERTƆ 1:1").osis()).toEqual("1Pet.1.1", "parsing: 'LE PETERTƆ 1:1'");
      expect(p.parse("1 PETERTƆ 1:1").osis()).toEqual("1Pet.1.1", "parsing: '1 PETERTƆ 1:1'");
      expect(p.parse("1. PE 1:1").osis()).toEqual("1Pet.1.1", "parsing: '1. PE 1:1'");
      expect(p.parse("LE PE 1:1").osis()).toEqual("1Pet.1.1", "parsing: 'LE PE 1:1'");
      expect(p.parse("1 PE 1:1").osis()).toEqual("1Pet.1.1", "parsing: '1 PE 1:1'");
      expect(p.parse("1PET 1:1").osis()).toEqual("1Pet.1.1", "parsing: '1PET 1:1'");
    });
  });

  describe("Localized book Jude (ee)", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should handle book: Jude (ee)", function() {
      expect(p.parse("Jude 1:1").osis()).toEqual("Jude.1.1", "parsing: 'Jude 1:1'");
      expect(p.parse("Yuda 1:1").osis()).toEqual("Jude.1.1", "parsing: 'Yuda 1:1'");
      expect(p.parse("Yud 1:1").osis()).toEqual("Jude.1.1", "parsing: 'Yud 1:1'");
      p.include_apocrypha(false);
      expect(p.parse("JUDE 1:1").osis()).toEqual("Jude.1.1", "parsing: 'JUDE 1:1'");
      expect(p.parse("YUDA 1:1").osis()).toEqual("Jude.1.1", "parsing: 'YUDA 1:1'");
      expect(p.parse("YUD 1:1").osis()).toEqual("Jude.1.1", "parsing: 'YUD 1:1'");
    });
  });

  describe("Miscellaneous tests", function() {
    var p;
    p = {};
    beforeEach(function() {
      p = new bcv_parser();
      p.set_options({
        book_alone_strategy: "ignore",
        book_sequence_strategy: "ignore",
        osis_compaction_strategy: "bc",
        captive_end_digits_strategy: "delete"
      });
      p.include_apocrypha(true);
    });
    it("should return the expected language", function() {
      expect(p.languages).toEqual(["ee"]);
    });
    it("should handle ranges (ee)", function() {
      expect(p.parse("Titus 1:1 yi 2").osis()).toEqual("Titus.1.1-Titus.1.2", "parsing: 'Titus 1:1 yi 2'");
      expect(p.parse("Matt 1yi2").osis()).toEqual("Matt.1-Matt.2", "parsing: 'Matt 1yi2'");
      expect(p.parse("Phlm 2 YI 3").osis()).toEqual("Phlm.1.2-Phlm.1.3", "parsing: 'Phlm 2 YI 3'");
    });
    it("should handle chapters (ee)", function() {
      expect(p.parse("Titus 1:1, ta 2").osis()).toEqual("Titus.1.1,Titus.2", "parsing: 'Titus 1:1, ta 2'");
      expect(p.parse("Matt 3:4 TA 6").osis()).toEqual("Matt.3.4,Matt.6", "parsing: 'Matt 3:4 TA 6'");
    });
    it("should handle verses (ee)", function() {
      expect(p.parse("Exod 1:1 kpukpui 3").osis()).toEqual("Exod.1.1,Exod.1.3", "parsing: 'Exod 1:1 kpukpui 3'");
      expect(p.parse("Phlm KPUKPUI 6").osis()).toEqual("Phlm.1.6", "parsing: 'Phlm KPUKPUI 6'");
      expect(p.parse("Exod 1:1 vovo 3").osis()).toEqual("Exod.1.1,Exod.1.3", "parsing: 'Exod 1:1 vovo 3'");
      expect(p.parse("Phlm VOVO 6").osis()).toEqual("Phlm.1.6", "parsing: 'Phlm VOVO 6'");
    });
    it("should handle 'and' (ee)", function() {
      expect(p.parse("Exod 1:1 kple 3").osis()).toEqual("Exod.1.1,Exod.1.3", "parsing: 'Exod 1:1 kple 3'");
      expect(p.parse("Phlm 2 KPLE 6").osis()).toEqual("Phlm.1.2,Phlm.1.6", "parsing: 'Phlm 2 KPLE 6'");
    });
    it("should handle titles (ee)", function() {
      expect(p.parse("Ps 3 tanya, 4:2, 5:tanya").osis()).toEqual("Ps.3.1,Ps.4.2,Ps.5.1", "parsing: 'Ps 3 tanya, 4:2, 5:tanya'");
      expect(p.parse("PS 3 TANYA, 4:2, 5:TANYA").osis()).toEqual("Ps.3.1,Ps.4.2,Ps.5.1", "parsing: 'PS 3 TANYA, 4:2, 5:TANYA'");
    });
    it("should handle 'ff' (ee)", function() {
      expect(p.parse("Rev 3ff, 4:2ff").osis()).toEqual("Rev.3-Rev.22,Rev.4.2-Rev.4.11", "parsing: 'Rev 3ff, 4:2ff'");
      expect(p.parse("REV 3 FF, 4:2 FF").osis()).toEqual("Rev.3-Rev.22,Rev.4.2-Rev.4.11", "parsing: 'REV 3 FF, 4:2 FF'");
    });
    it("should handle translations (ee)", function() {
      expect(p.parse("Lev 1 (kjv)").osis_and_translations()).toEqual([["Lev.1", "kjv"]]);
      expect(p.parse("lev 1 kjv").osis_and_translations()).toEqual([["Lev.1", "kjv"]]);
    });
    it("should handle book ranges (ee)", function() {
      p.set_options({
        book_alone_strategy: "full",
        book_range_strategy: "include"
      });
      expect(p.parse("1 yi 3  Yo").osis()).toEqual("1John.1-3John.1", "parsing: '1 yi 3  Yo'");
    });
    return it("should handle boundaries (ee)", function() {
      p.set_options({
        book_alone_strategy: "full"
      });
      expect(p.parse("\u2014Matt\u2014").osis()).toEqual("Matt.1-Matt.28", "parsing: '\u2014Matt\u2014'");
      expect(p.parse("\u201cMatt 1:1\u201d").osis()).toEqual("Matt.1.1", "parsing: '\u201cMatt 1:1\u201d'");
    });
  });

}).call(this);