Controller and tests for groups

Signed-off-by: Jean-Matthieu BARBIER <jm.barbier@solidev.net>