Add failed database to unit tests tear down function
Fix purging of database files during tear down function during unit tests