added delete to group. with tests