Use the RavenTest base class in order to make sure that the data folder will be deleted correctly
A better way to throw the error
minor