patching strategies for Db tool and tests for that feature