Fix generated test running