add createDirectory (already exists) test