def METHOD_NAME(self):
    request = self.factory.get("/en/test/?a=1&a=2&b=3&c=OK&d=Hello%2C+World%21")
    params_to_remove = ["only_query_string", "c"]
    params_to_add = {"a": 3, "b": 4}
    path = add_to_query({"request": request}, *params_to_remove, **params_to_add)
    # Then we should get the template names saved in context variables
    self.assertEquals(
        path,
        "?a=1&amp;a=2&amp;a=3&amp;b=3&amp;b=4&amp;d=Hello%2C+World%21",
    )