Testing pagination script