encodde tests