Added more tests and given GroupManager a more sensible name (TagManager)