Integration test for searchpage API