Imporving path test