Fixed missing storage.close() call in DB.close()
Improved BaseTest to work also in remote mode