encoding test output