Fixed tests and added tests for fetching and updating group info