Encoding test demo working