added pagination oh the tests search page