GraphDB: fixed issues with tests