added delete operation for ManyToMany, test refactor