BAC-661: fixed RethinkDB tests