align test with changes for #173
for DatabaseClientFactoryTest we do an xdmp:eval in an ServerEvaluationCall so we need xdmp:eval privilege
add test for #171, even though I have to comment part of it for it to pass for now