Fail tests more gracefully when databases are missing