Properly adjust the srcdir vs builddir paths

Affected unit tests load testdata from the srcdir.  Previously, there
was a kludge that chdir()ed to the tests srcdir, but that get removed
during refactoring.  Instead of introducing the kludge again, the paths
were fixed to be properly prefixed with TESTS_DIR as needed.
67 jobs for !6369 with fanf-tests-build-deps in 34 minutes and 27 seconds (queued for 3 seconds)
latest merge request