Test if the pathwatcher works