* fixed return value in GroupMgr::remove if the given character wasn't in it
* remove empty groups
* extended group unit test