[server][testItemGroup] Fix bugs.