Generator for testing program