qtree test page query fix + adjacent pages match test