Added tests for Group controller and fixed Group entity issue

This PR comes with some tests for the controller classes and small fixes for problems found in testing.
This test fails due to https://github.com/devhub-tud/devhub/issues/65