avoid testing only_path

we know that this call only wants the path returned, so lets call a
method that returns the path.