test creating directory