Fixed DB queries test not working under upstream
Merge pull request #836 from mfalesni/jenkinsfixes

Fixed DB queries test not working under upstream