paginator result is now wrapped in a page element
added tests for paginator component