Refine path helper tests