added delete action with tests