configs: move exception in cli
Improve configs tester
generators: move exception in cli