test delete directory