def METHOD_NAME(self, mock_time):
    mock_time.return_value = datetime.utcnow().replace(tzinfo=utc)
    self._make_submissions()
    count_key = "count"
    fields = ["_submission_time", "_xform_id_string"]
    name = "_my_name"
    xform = self.user.xforms.all()[0]
    count = len(xform.instances.all())
    for field in fields:
        result = get_form_submissions_grouped_by_field(xform, field, name)[0]
        self.assertEqual([name, count_key], sorted(list(result)))
        self.assertEqual(result[count_key], count)