(#3134) - open_revs returned in right order

test 1: many revs at the same tree height
test 2: same, but with some deleted revs as well