t: replace variable root directory in tests