add get all groups

This test will need to be removed or modified depending on what we do with the pagination implementation.