Started writing unit tests for paginator