added API endpoint for deleting groups and deleting users from groups
added consistent test cases