reuse #controller_path logic in test case

The `#controller_path` should be canonical in case a gem or future patch changes it.