lzw encode/decode testing