added delete functionality on Edit tests