added url encoding of uri components, added delete method to groups, additional code coverage to groups