apply relative path checks for lecacy test, too

The same failures happening for new API occur for legacy API, too.
Apply the same fix strategy (use relative results)