Unit test groups

added accumulateGroupIds test and chai-things module