Moving test gems to corresponding group