tdb: setup TEST_DATA_PREFIX for make test