add new tests for generators