Page pred test2

While making a stabilizer test from,  Queries and Indexing,  I found some infinite loop problems using paging predicate.  

I am adding some junit tests to clarify paging predicate behavior, when the underlying data is being change while the paging predicate is used.