[bug 881330] Made tests fail loudly on DB failure