Fixed test path resolver.