modified page_decorator
add test case for page search