adding a simple test to ensure we get the right exception if a codec is not present during IW.addIndexes()