fix test endpoint on path