You should add a test for this in `tests/badge-model.test.js`. You'll have to add some new fixtures at the top for groups.