Test script for deletePaths