Add tests for SearchParams.