Codec for testing that supports {@link org.apache.lucene.index.TermsEnum#ord()}