some test in hmp_test.cpp