def test_search_emails_with_invalid_param(self):
        client = self.login_client('staff_client', 'staff_user')
        json_data = {'invalid_key': [self.user.email]}
        response = self.post_search_api(client, json_data=json_data, expected_status=400)
        assert response.data == {
            'developer_message': "'emails' field is required",
            'user_message': "'emails' field is required"
        }