add test for getting a doc at a specific rev