addFormParameter(proxy, "query", SEARCH_QUERY);
addFormParameter(proxy, "category", "all");
addFormParameter(proxy, "beforeDeadlineOnly", "true");
addFormParameter(proxy, "sortOrder", "score");
// addFormParameter(proxy, "maxNum", null);
proxy.execute();
assertResultOK(proxy);
ObjectNode json = getJSON(proxy);
assertThat(json.has("reason"), equalTo(false));
assertThat(json.get("events").size(), equalTo(10));