Improve tests for DbManager
Motivation
There is a merge request that needs some refactoring and unit-tests rework.
Suggestion
Implement unit-tests improvement according to the comments: https://gitlab.crown.tech/crown/crown-core/merge_requests/116#note_1755
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information