sync up src/test (BytesRefBuilder/newIndexWriterConfig)