test delete and new