Added tests for addGroupController