Refactor testGetSetPagesManager

Signed-off-by: bhill2 <bjsrhill@gmail.com>