[server][testItemGroup] Remove an unnecessary explicit cast to be simple.