fixed 'qmaster' != 'memory' failure in dbi_tests