Fix !srcdir builds

For srcdir != builddir builds, the installed test files had
rubbish paths in them, since we forgot to strip some directory
goo.