added test for delete_entry with full code coverage