added delete view and test