check: Don't change directory in the test
Changing directory invalidates the paths the registry has picked up for our plugins, because the test environment specifies relative paths. Fixing that is a separate problem, in the meantime, build a path to the test files instead of changing directory. Fixes the distcheck.
Showing with 27 additions and 12 deletions