This first half of the tests is all that don't need to retrieve the the error string explicitly from the notmuch database structure.