updated directory creation testing