test REST create an index with bogus indexType