Add range query test, add pagination helper
Add justification comment for java version manipulation