updated subgroup tests, fixed subgroup bug, wrote a few subgroup methods