optimize test case, merge bitset & heap test case