quote path in testing module to prevent bad request