tests: Cleanup: Use "$srcdir" instead of "$testdir/.."

This cleans up uses of "$testdir/.." missed from the previous
commit (ccb20267).