Fix use of PAGER during tests