[bug 881330] Made tests fail loudly on DB failure

ref: https://bugzilla.mozilla.org/show_bug.cgi?id=881330