added EncodingTests