Added sleep to cross-platform test allowing time for updated directory to store.