use more convenient *Config constructors in all example files
use NewConfigFromString in the tests