updated risk export test to the latest changes (namedtuple instead of tuple)