Refactored test for Delete

to ensure a true test of the app