add test delete option code