IE10 bug workaround

Change the tests so that they avoid the ie10 deletion bug. You *must* keep the PERSIST_DATABASES on for this workaround to work.