Testing the creation of the directory