0f47ba657d
* Solve bug and add unit tests The bug was raised due to a race condition when writing a file and deleting it. In order to stop it, a check condition was added at the end of the PersistData() method to remove files that have just been deleted. * Nit changes * Add a different constructor for the test