interface of set using list
compile lib_test in two mode