def METHOD_NAME(self, strings):
    length = 3
    strings = np.array(
        [a.encode('utf-8') for a in strings], dtype=np.object
    )
    def string_suffix_ref(strings):
        return (
            np.array([a[-length:] for a in strings], dtype=object),
        )
    op = core.CreateOperator(
        'StringSuffix',
        ['strings'],
        ['stripped'],
        length=length)
    self.assertReferenceChecks(
        hu.cpu_do,
        op,
        [strings],
        string_suffix_ref)