Fixed test that required a directory to be created for it to pass