test-encode.t #1