some tests with huffman encoding