Add summary row to pager. Fix tests.