generative tests for complex with some type corrections in src