base test compress

add hotlist compress function unit-test cases