Fixed error in test caused by test DB not existing but attempting to
delete it.