introduce flag FLAG_MUSTACHESEC
add 1 test for inverse part of hbhelpers
update history, refine some unit test input