Add test for huffmanDecode