check for page name in addQuery
fix tests
Fix code and update change log.