Updated getGroups test
Wrote test for getting a specific group by id
Added test for getting groups by type