rdfrest: fixed previously undetected bug in unit-tests