closes #1837
Merge pull request #1839 from OCHA-DAP/1837-fixes-datastore-db-privilege-test

closes #1837