Add generators test.