Use closures in shouldBehaveLikeATree

Before, we were testing for the last document/search/word over and over
again. Now, we actually test for everything in the list.
Bump integration-test versions.

I was trying to fix stuff, and this had nothing to do with it.
Page numbers start at 1, not 0
Hide tour in PdfUpload, so we can see text behind