adding much needed generator tests