Adding Delete image functionality and all the test cases