Test implemented for LZ78Compressor.java