Update ldb tests for latest API error changes.