search encoding test