Add a spec to search
Add tests for per page value