Adding generalizedstruct test to tune.pl