def METHOD_NAME(self):
    # self.login(is_admin=True)
    res = self.client.get(self.url + "&q=kwazulu&facet=collection_id")
    assert res.status_code == 200, res
    assert res.json["total"] == 1, res.json
    # assert '<em>banana</em>' in res.data, res.json
    assert b"Public Collection" in res.data, res.json
    assert b"Secret Document" not in res.data, res.json
    _, headers = self.login(is_admin=True)
    res = self.client.get(self.url + "&q=banana", headers=headers)
    assert res.status_code == 200, res
    assert res.json["total"] == 3, res.json
    assert len(res.json["results"]) == 3, res.json
    assert b"Banana" in res.data, res.json