testpage, search function