test delete and move