This tests that if deleteDatabase is called while there is already an open connection to the database that the open connection gets the appropriate versionChange event.