test coverage for generators