Test if path is correct