add test function for SMAC short message compressor.