Generator for simple test in c.