test adding directory