removed test from huffman_code.py and added instead a unit test in test.py