Allow testdata directory as root in tests.