Fixed testing issue where the directories were not created when the options were set.