#GT-899: added tests for setDb