write gaia multiset and multimap test case and fix some bugs.