test_syncroot: putting path to test in a variable

That makes it easy to test other syncroots. If you choose a syncroot
with a space, the test will fail. That's a big bug.