Tests to show getAllLinearVersions() being 'stuck' on first value seen

Using Jackalope-Jackrabbit it seems there is a problem with the version history response: after the first call to getAllLinearVersions(), subsequent calls always return the same value as the first call, even if the history has now changed.

The same problem doesn't seem to happen with getAllVersions(). I've created test cases (using new nodes for each) to show the working, getAllVersions(), and failing, getAllLinearVersions(), cases.

See https://groups.google.com/d/msg/symfony-cmf-devs/--3J2hbMsa8/bupTUgqeb-wJ