Updated test getters to take a path.