changed groupdot, added test case