added delete confirmation and checked json response generation on test url