add testcase to check if deletion is atomic