add unit test method
start add pagin helpers