Fix path controller tests