Test directory variable