Generate config tests by script (close gh-1).