@Test(expected=InvalidIndexIDException.class)
public void zeroID() {

    AkibanInformationSchema ais = AISBBasedBuilder
        .create("test", typesTranslator)
        .table("p").colInt("id").key("k", "id")
        .unvalidatedAIS();
    ais.getTable("test", "p").getIndex("k").setIndexId(0);
    validate(ais);
}