namedtuple in test