Passing root into the paginator

A slight modification to passing root into the paginator.  Now the tests should pass.