Improving 2i eq pagination test

Added same test for bucket and integer field query.
Fixed "Rest" part of PB check using the wrong query variable.