add test casese for delete and edit

add test cases for delete and edit